From 6e962ec588a9956e63d760c0ccead72173e6d617 Mon Sep 17 00:00:00 2001 From: David Reid Date: Sun, 10 Oct 2021 14:17:23 +1000 Subject: [PATCH] Fix a compilation error on the Apple build. --- miniaudio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniaudio.h b/miniaudio.h index 5c952b8f..2a17b5c6 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -30522,7 +30522,7 @@ static ma_result ma_context__uninit_device_tracking__coreaudio(ma_context* pCont /* At this point there should be no tracked devices. If not there's an error somewhere. */ if (g_ppTrackedDevices_CoreAudio != NULL) { - ma_log_postf(ma_context_get_log(pContext), MA_LOG_LEVEL_WARNING, "You have uninitialized all contexts while an associated device is still active.", MA_INVALID_OPERATION); + ma_log_postf(ma_context_get_log(pContext), MA_LOG_LEVEL_WARNING, "You have uninitialized all contexts while an associated device is still active."); ma_spinlock_unlock(&g_DeviceTrackingInitLock_CoreAudio); return MA_INVALID_OPERATION; }