A command-line utility to switch the audio source on Mac OS X.
This utility switches the audio source for Mac OS X.
You specify the name of the audio source, such as Built-in Digital Output, and the utility switches the source immediately without any GUI interaction.
This is a command-line utility only and has no graphical user interface.
AudioSwitcher [-a] [-c] [-t type] [-n] -s device_name
- -a : shows all devices
- -c : shows current device
- -t type : device type (input/output/system). Defaults to output.
- -n : cycles the audio device to the next one
- -s device_name : sets the audio device to the given device by name
Thanks to Christian Zuckschwerdt for migrating this to github and adding the next option.
MIT License, see license.txt
Copyright (c) 2008 Devon Weller [email protected]
Copyright (c) 2011 Christian Zuckschwerdt [email protected]
Imported from SVN at http://code.google.com/p/switchaudio-osx/