Commit ed813561 authored by David Reid's avatar David Reid

WASAPI: Fix a wrong-way-around conditional.

parent 43bf6a1a
...@@ -9160,7 +9160,7 @@ ma_result ma_device_main_loop__wasapi(ma_device* pDevice) ...@@ -9160,7 +9160,7 @@ ma_result ma_device_main_loop__wasapi(ma_device* pDevice)
/* Overrun detection. */ /* Overrun detection. */
if ((flagsCapture & MA_AUDCLNT_BUFFERFLAGS_DATA_DISCONTINUITY) == 0) { if ((flagsCapture & MA_AUDCLNT_BUFFERFLAGS_DATA_DISCONTINUITY) != 0) {
/* Glitched. Probably due to an overrun. */ /* Glitched. Probably due to an overrun. */
#ifdef MA_DEBUG_OUTPUT #ifdef MA_DEBUG_OUTPUT
printf("[WASAPI] Overrun.\n"); printf("[WASAPI] Overrun.\n");
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