I have two audio playback devices on my Windows 7 machine. There is one monitor connected to this machine via HDMI.
Now, when the HDMI monitor is switched on, I want the audio of the PC to go through HDMI. When the monitor is switched off, I want the default audio device to switch to the mini-jack / normal output device...
Is it possible to somehow automate this, i.e. detect whether the monitor is on, then determine the default playback device?