Created
December 20, 2018 19:09
-
-
Save jermspeaks/e16ff7025d9c3ec3a849b82ddd70f561 to your computer and use it in GitHub Desktop.
Switch Audio on OSX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# brew install switchaudio-osx | |
headphoneson() { | |
SwitchAudioSource -t "input" -s "<NAME OF DEVICE>" | |
SwitchAudioSource -t "output" -s "<NAME OF DEVICE>" | |
} | |
headphonesoff() { | |
SwitchAudioSource -t "input" -s "MacBook Pro Microphone" | |
SwitchAudioSource -t "output" -s "MacBook Pro Speakers" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment