The mysterious WASAPI lock on Windows 7

CaptureExclusiveEventDriven.zip Problem: On Windows 7, if a stream is initialized to be timer driven and in exclusive mode, the WASAPI release of the capture audio client (IAudioCaptureClient) will lock if the release is called when a USB audio device is disconnected.  Workaround: The problem is actually in the audiodg.exe. When someone pull the plug of…

0