WASAPI: Fix a wrong-way-around conditional.

This commit is contained in:
David Reid
2019-09-30 20:31:39 +10:00
parent 43bf6a1a97
commit ed8135610a
+1 -1
View File
@@ -9160,7 +9160,7 @@ ma_result ma_device_main_loop__wasapi(ma_device* pDevice)
/* Overrun detection. */
if ((flagsCapture & MA_AUDCLNT_BUFFERFLAGS_DATA_DISCONTINUITY) == 0) {
if ((flagsCapture & MA_AUDCLNT_BUFFERFLAGS_DATA_DISCONTINUITY) != 0) {
/* Glitched. Probably due to an overrun. */
#ifdef MA_DEBUG_OUTPUT
printf("[WASAPI] Overrun.\n");