deweller / switchaudio-osx

Change the audio source for Mac OS X from the command line.
Other
1.16k stars 88 forks source link

Support switching system sounds to the current output device #26

Closed deviantintegral closed 3 years ago

deviantintegral commented 4 years ago

I can use the following to match the "Selected sound output device" option in Sound preferences:

SwitchAudioSource -t output -c | tr '\n' '\0' | xargs -0 SwitchAudioSource -t system -s

It would be nice if there was an option to do this right in the app.

deweller commented 3 years ago

This is a helpful tip for anyone who needs to do this. :)