View Single Post
Old 13 October 2016, 16:43   #29
Toni Wilen
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 21,554
Originally Posted by mark_k View Post
0x8889004 is AUDCLNT_E_DEVICE_INVALIDATED and this page on MSDN could help with handling that condition: Recovering from an Invalid-Device Error.
I planned to do this someday, also handling situation where device is removed (for example unplugged USB headset etc).

Done now. If AUDCLNT_E_DEVICE_INVALIDATED is returned, first same sound device is opened again, if it fails, default device is selected, if it also fails: sound is switched off.
Toni Wilen is offline  
Page generated in 0.04064 seconds with 10 queries