Change default windows playback device depending on display output

Dear Experts,

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?

Many Thanks!
hendrkleAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MereteCommented:
Don't think this achievable since the audio uses the line out plug not the monitor hdmi,, and windows determins the hardware by the connections.
on windows 7 if you remove any cables within the audio it immediately detects it and throws up the Audio control panel, you could place a shortcut to the audio control panel on your desktop.
Control Panel\All Control Panel Items/ Sound>r/click and create a shortcut.
I have an Real Tek HDef audio card and in the audio Mixer I can select which device to use for the audio out depending on what is active on my desktop.
For automating this if windows does not detect the audio cables..that is device changes you may need to manually use a tool
http://www.actualsolution.com/
here's an example
 I have a game running and how windows 7 displays the audio Mixer for those programs
sorry I cant offer any further ideas on this.
IMHO it cannot be done.
Regards Merete
audio-options.jpg
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
hendrkleAuthor Commented:
Apologies for the late reply!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 7

From novice to tech pro — start learning today.