mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-24 01:04:02 +02:00
Fix CoreAudio build.
This commit is contained in:
+1
-1
@@ -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
|
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.
|
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. */
|
/* Need a ring buffer for duplex mode. */
|
||||||
if (pConfig->deviceType == ma_device_type_duplex) {
|
if (pConfig->deviceType == ma_device_type_duplex) {
|
||||||
|
|||||||
Reference in New Issue
Block a user