Emulator Issues #11297
openDolphin hangs if WASAPI loses Exclusive Mode
0%
Description
If Dolphin is unable to attain Exclusive Mode on an audio device or loses it while a game is running, the emulator deadlocks.
19:13:511 c:\buildbot\release-win-x64\build\source\core\audiocommon\mixer.cpp:21 I[AI]: Mixer is initialized
19:13:514 c:\buildbot\release-win-x64\build\source\core\audiocommon\wasapistream.cpp:264 I[Audio]: Using audio endpoint 'DENON-AVR (NVIDIA High Definition Audio)'
19:13:567 c:\buildbot\release-win-x64\build\source\core\audiocommon\wasapistream.cpp:283 I[Audio]: Audio period set to 130000
19:13:596 c:\buildbot\release-win-x64\build\source\core\audiocommon\wasapistream.cpp:387 I[Audio]: WASAPI: Successfully initialized!
19:13:777 c:\buildbot\release-win-x64\build\source\core\audiocommon\wasapistream.cpp:264 I[Audio]: Using audio endpoint 'DENON-AVR (NVIDIA High Definition Audio)'
19:13:778 c:\buildbot\release-win-x64\build\source\core\audiocommon\wasapistream.cpp:283 I[Audio]: Audio period set to 130000
19:13:822 c:\buildbot\release-win-x64\build\source\core\audiocommon\wasapistream.cpp:387 I[Audio]: WASAPI: Successfully initialized!
19:14:042 c:\buildbot\release-win-x64\build\source\core\core\hw\dsp.cpp:363 I[AI]: Audio DMA configured: 12 blocks from 0x802fc980
20:09:564 c:\buildbot\release-win-x64\build\source\core\audiocommon\wasapistream.cpp:264 I[Audio]: Using audio endpoint 'DENON-AVR (NVIDIA High Definition Audio)'
20:09:564 c:\buildbot\release-win-x64\build\source\core\audiocommon\wasapistream.cpp:283 I[Audio]: Audio period set to 130000
20:09:607 c:\buildbot\release-win-x64\build\source\core\audiocommon\wasapistream.cpp:387 I[Audio]: WASAPI: Successfully initialized!
20:10:709 c:\buildbot\release-win-x64\build\source\core\audiocommon\audiocommon.cpp:73 I[Audio]: Shutting down sound stream
20:10:709 c:\buildbot\release-win-x64\build\source\core\audiocommon\audiocommon.cpp:81 I[Audio]: Done shutting down sound stream
21:00:508 c:\buildbot\release-win-x64\build\source\core\audiocommon\mixer.cpp:21 I[AI]: Mixer is initialized
21:00:510 c:\buildbot\release-win-x64\build\source\core\audiocommon\wasapistream.cpp:264 I[Audio]: Using audio endpoint 'DENON-AVR (NVIDIA High Definition Audio)'
21:00:511 c:\buildbot\release-win-x64\build\source\core\audiocommon\wasapistream.cpp:283 I[Audio]: Audio period set to 130000
21:00:513 c:\buildbot\release-win-x64\build\source\core\audiocommon\wasapistream.cpp:77 E[Audio]: WASAPI: Failed to initialize IAudioClient: Unknown error 0x8889000E
21:00:513 c:\buildbot\release-win-x64\build\source\core\audiocommon\audiocommon.cpp:170 E[Audio]: Error starting stream.