macOS
brew install switchaudio-osxlocal Homebrew formula metadata
sudo port install switchaudio-osxMacPorts ports tree · audio/switchaudio-osx/Portfile · 来源: api.github.com
安装
brew install switchaudio-osxlocal Homebrew formula metadata
sudo port install switchaudio-osxMacPorts ports tree · audio/switchaudio-osx/Portfile · 来源: api.github.com
nix profile install nixpkgs#switchaudio-osxnixpkgs package indexes · pkgs/by-name/sw/switchaudio-osx/package.nix · 来源: api.github.com
概览
Change macOS audio source from the command-line
历史
SwitchAudioSource is a macOS command-line utility for switching the system audio source without opening the graphical sound settings. Its appeal is narrow but durable: shell users, automation users, and hotkey-tool users can script audio input, output, system device, mute, and cycling behavior.
The upstream README describes a command-line-only utility for Mac OS X, tested across OS X 10.7 through macOS 11.2. The license and README credit Devon Weller beginning in 2008 and Christian Zuckschwerdt for migrating the project to GitHub and adding the next-device option.
The README explicitly documents Homebrew installation, and the input package facts show the same utility distributed through Homebrew, MacPorts, and Nix. That spread is typical for small macOS-native command-line tools that remain useful because they wrap a missing shell affordance.
Users run SwitchAudioSource to list devices, print the current device, set a device by name, id, or uid, choose input/output/system device type, select human/CLI/JSON output, or toggle mute status for input or output devices. The README gives microphone muting as a hotkey-oriented use case.
Package nerds care because this is exactly the kind of tiny Mac utility package managers preserve: a single-purpose CLI that exposes system behavior to scripts, dotfiles, launchers, and keyboard automation.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
SwitchAudioSource | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:switchaudio-osx |
|---|---|
| 版本 | 1.2.2 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/deweller/switchaudio-osx/ |
| 仓库 | https://github.com/deweller/switchaudio-osx |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
switchaudio-osx
nix profile install nixpkgs#switchaudio-osxswitchaudio-osx
sudo port install switchaudio-osx来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.