Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
MUHUIX
AutoMicSwitch
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
AutoMicSwitch
/
rules.example.txt
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
26 lines (23 loc) · 1.03 KB
main
Breadcrumbs
AutoMicSwitch
/
rules.example.txt
Copy path
Top
File metadata and controls
Code
Blame
26 lines (23 loc) · 1.03 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# AutoMicSwitch 规则配置
#
# 用法:把本文件复制成 rules.txt,放到 AutoMicSwitch.exe 同一个目录,重启程序生效。
#
# 规则格式,一行一条:
# 播放设备关键字|目标麦克风关键字|说明
#
# 关键字匹配的是设备硬件路径(InstanceId)的子串,一般写 VID_XXXX 就够了。
# 换 USB 口、改设备显示名、重装驱动都不会影响匹配。
#
# 兜底规则(可选,最多一条):
# fallback=VID_XXXX 播放设备没匹配到任何规则时,麦克风切到这里
# fallback=none 没匹配到时保持不动
#
# 以 # 开头的行是注释,空行会被忽略。
# 怎么查 VID:
# 设备管理器 -> 选中设备 -> 右键「属性」->「详细信息」->「硬件 Id」
# 会看到类似 USB\VID_1234&PID_5678 的字符串,取 VID_1234 即可。
# ---- 联动规则(把 VID 换成你自己的)----
# VID_1234|VID_1234|耳机播放时用耳机自己的麦克风
# VID_5678|VID_5678|另一副耳机
# ---- 兜底 ----
# fallback=VID_9ABC
You can’t perform that action at this time.