mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-24 09:14:04 +02:00
Add more debug output for WASAPI.
This commit is contained in:
@@ -8069,11 +8069,19 @@ ma_result ma_device_init_internal__wasapi(ma_context* pContext, ma_device_type d
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
#if defined(MA_DEBUG_OUTPUT)
|
||||||
|
printf("[WASAPI] IAudioClient3_GetSharedModeEnginePeriod failed. Falling back to IAudioClient.\n");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
ma_IAudioClient3_Release(pAudioClient3);
|
ma_IAudioClient3_Release(pAudioClient3);
|
||||||
pAudioClient3 = NULL;
|
pAudioClient3 = NULL;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
#if defined(MA_DEBUG_OUTPUT)
|
||||||
|
printf("[WASAPI] Not using IAudioClient3 because MA_WASAPI_NO_LOW_LATENCY_SHARED_MODE is enabled.\n");
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* If we don't have an IAudioClient3 then we need to use the normal initialization routine. */
|
/* If we don't have an IAudioClient3 then we need to use the normal initialization routine. */
|
||||||
|
|||||||
Reference in New Issue
Block a user