From 0e3fe5390d6ee7bef88c3bbde9401d03cd3091ce Mon Sep 17 00:00:00 2001 From: David Reid Date: Wed, 24 Jun 2020 20:14:30 +1000 Subject: [PATCH] Fix CoreAudio build. --- miniaudio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniaudio.h b/miniaudio.h index 7235354c..b6c87b17 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -25118,7 +25118,7 @@ static ma_result ma_device_init__coreaudio(ma_context* pContext, const ma_device When stopping the device, a callback is called on another thread. We need to wait for this callback before returning from ma_device_stop(). This event is used for this. */ - ma_event_init(pContext, &pDevice->coreaudio.stopEvent); + ma_event_init(&pDevice->coreaudio.stopEvent); /* Need a ring buffer for duplex mode. */ if (pConfig->deviceType == ma_device_type_duplex) {