Open davkean opened 9 years ago
Looks like Realtek is merging both endpoints into a single endpoint, we might be out of luck here: https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/0bea3003-5a31-42f5-917c-a5b577dcda1f/i-am-not-getting-ondeviceremoved-or-ondeviceadded-callbacks-when-addremove-an-audioendpoint?forum=windowspro-audiodevelopment.
Although, I'd still like to see if we can use the Jack state to see if that changes.
Certain notebooks, in particular the one @terrajobst has, does not automatically switch to the speakers when he up unplugs his headphones. This is probably because it's always seen as "Active" regardless of whether the headphones are connected.
Probably need to look at the jack state change of the individual audio devices and respect that.