deweller/switchaudio-osx

[10.10.0] Messes with "Play sound effects through:" Preference

NickChristensen opened this issue · 7 comments

My Play sound effects through: (on the Sound Effects tab of System Preferences -> Sound) has always been set to "Selected sound output device". I noticed, however, when I used SwitchAudioSource -s "source", that setting is also changed (in addition to the expected sound output device change).

This wouldn't be a huge problem, except: it's never changed to the output I selected. If I change to "Display Audio", it sets it to "C-Media USB Audio Device". If I change it back to "Selected sound output device", then change to "C-Media USB Audio Device", it sets it to "Display Audio".

Weird. Do you think this is a problem with Yosemite? I'm still running 10.9 on my machine.

Oh man, I wish I had any clue. I don't have a 10.9 VM or anything to test it on, either.

I just tried this Audiodevice though, and it seemed to have the same behavior.

Examining /Library/Preferences/Audio/com.apple.audio.SystemSettings.plist, it looks like there's no setting for "Selected sound output device". When it's set to that and I change "output", it just changes "system output" as well to match. Related?

I don't know how relevant this is, but I had a conversation about something similar a while back with another user. He was wanting to change the Sound Effects output. But there is no API (that I could find) that allows a utility to set the Sound Effects output to "Selected sound output device."I believe this feature is something that is unique to the sound control panel and not accessible at a system level.

I realize this is a different issue, but I thought I'd mention it here as it is slightly relevant.

Ha I think we just said the same thing :)

It's 2019 and macos version is now 10.14.3 same issue remained. If i change the sound output using interface, the sound effects output works as intended, but doing so via cli messes this up indeed. Any chance to fix it?