When I plug my Dell XPS-13 into an external monitor via DisplayPort, I want the sound to come through the monitor, not the internal speakers.
When I plug a headset into the XPS-13 (whether or not it's attached to a monitor), I want sound to come through the headphones.
i.e. I want the following priority:
- Headphones
- Monitor speakers
- Internal speakers
So I set the default audio device, bit I can only select "Speakers / Headphones (Realtek Audio)", OR the monitor's audio, as default.
Problem is, this treats the internal speakers the same as the headphones, since it's a combines "Speakers / Headphones" option, so I don't get the desired behaviour.
How can I get this to automatically switch without manually changing the sound device each time?