I'm using a speaker set connected through the green audio jack and a headset which I connect through USB. My problem is that every time I connect/disconnect my headset, I have to go through a lot of settings/restart some programs to make the sound go through the speakers again.
What I want is to have audio play through the headset when it's connected, but if I disconnect the headset, I want the audio to automatically play through the speakers.
For example, if I connect/disconnect the headset while listening to music, I have to restart the application to make the music play through the correct speaker/headset, and it shouldn't be that inconvenient.
(I found this somewhat relevant topic, but the problem is that it doesn't really give an answer. (Also, it is 2 years old.))
Best Answer
I don't know of any automatic solution, but here are several hotkey-using solutions you could look at :
How to change the default audio device with a hotkey
A AutoHotKey script to switch between audio sources
Soundswitch
Switch between headphones and speakers (have a look at version 3)
The thread Audio playback through headphones and speakers has some ideas that may be worth trying.