Is there a way of allowing a selected application (that is trying to output sound), to only be able to output when no other applications are outputting sound? Usecase scenario Some people listen to ambient music while on the computer (e.g. while surfing or coding). When watching or listening to something else, there is therefore a need to turn off the ambient music, turn on the media that is to be consumed, and when done, turn the ambient music back on. It would be great to be able to select an application in the Windows 10 Volume Mixer, let's say, and only allow that application to output when no other applications are active. This would remove the need to turn the ambient music player on and off, repeatedly. Is this possible? I'd be open to using a broad number of tools (Powershell, WSL, .NET, Python, VB-Audio software, other third party applications etc).
Lucubrator asked Nov 1, 2018 at 17:38 Lucubrator Lucubrator 143 1 1 silver badge 13 13 bronze badgesThe most you can do in Windows is disallow applications taking exclusive control of the audio device, then use the Volume Mixer to mute the applications you don't want to hear.
To disable applications taking exclusive control of the audio device :
Why do you need to disable Exclusive Mode? Couldn't you just mute/unmute applications no matter the Exclusive Mode settings? Also, if I'd understood you correctly, this would still require one to manually mute/unmute every time (with the difference being that this done through the Volume Mixer instead of going to each application's play/pause/mute button)?
Commented Nov 2, 2018 at 11:27Disabling Exclusive Mode is because otherwise other players might give an error and terminate if they cannot access the sound device. This solution gives unique control through the Volume Mixer instead of passing through the playing applications. This might be easier, depending on your personal preferences.