mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
WASAPI: Fix a wrong-way-around conditional.
This commit is contained in:
+1
-1
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user