mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-24 01:04:02 +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. */
|
/* 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");
|
||||||
|
|||||||
Reference in New Issue
Block a user