-
Notifications
You must be signed in to change notification settings - Fork 543
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to recover from AUDCLNT_E_DEVICE_INVALIDATED errors in wasapi bac…
…kend. Instead of disconnecting the device and passing the error to the aplication, try to recover from the error in the mixing loop. The error is triggered on some configurations when switching to fullscreen mode, or with some usb headsets. And it can take a few seconds to recover. It also occurs when changing the sound card default sample rate in the windows configuration dialog, or other properties.
- Loading branch information
xbx
committed
Oct 30, 2018
1 parent
f1ced2e
commit dd44357
Showing
1 changed file
with
111 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters