Open wanhuz opened 2 years ago
So just removing the application key does not work, audio devices also need to be updated
The audio device key can be found at Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\MMDevices\Audio\Render\
Since SoundVolumeView does not provide ways to revert audio output back to default, I'll have to implements it manually by changing registry setting.
Computer\HKEY_USERS\S-1-5-21-2437453287-1511510858-1149427476-1001\SOFTWARE\Microsoft\Multimedia\Audio\DefaultEndpoint\ecf406e4_0
Here are the key to change audio output device for application that is available on the current PC. Simply removing the key would reset it to default, I think.