Commit 6fda59f4 authored by David Reid's avatar David Reid Committed by GitHub

Merge pull request #202 from gooderist/dev

Fix loopback typo
parents 17b36053 78dab364
......@@ -13558,7 +13558,7 @@ static ma_result ma_device_stop__wasapi(ma_device* pDevice)
In loopback mode it's possible for WaitForSingleObject() to get stuck in a deadlock when nothing is being played. When nothing
is being played, the event is never signalled internally by WASAPI which means we will deadlock when stopping the device.
*/
if (pDevice->type == ma_device_type_capture || pDevice->type == ma_device_type_duplex || pDevice->type == ma_device_type_duplex) {
if (pDevice->type == ma_device_type_capture || pDevice->type == ma_device_type_duplex || pDevice->type == ma_device_type_loopback) {
SetEvent((HANDLE)pDevice->wasapi.hEventCapture);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment