From 3191f1a20a2e5f53ca525e5e8a98c0b4f1f8bb6e Mon Sep 17 00:00:00 2001 From: David Reid Date: Tue, 2 Feb 2021 18:16:29 +1000 Subject: [PATCH] iOS: Fix a typo. --- miniaudio.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/miniaudio.h b/miniaudio.h index c99c37a1..baad4f19 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -25716,7 +25716,7 @@ static ma_result ma_device__untrack__coreaudio(ma_device* pDevice) ma_uint32 previousState = ma_device_get_state(m_pDevice); - if (previousState == MA_DEVICE_STARTED) { + if (previousState == MA_STATE_STARTED) { ma_device_stop(m_pDevice); } @@ -25731,7 +25731,7 @@ static ma_result ma_device__untrack__coreaudio(ma_device* pDevice) ma_device__post_init_setup(m_pDevice, ma_device_type_playback); } - if (previousState == MA_DEVICE_STARTED) { + if (previousState == MA_STATE_STARTED) { ma_device_start(m_pDevice); } }