Commit e98ec370 authored by David Reid's avatar David Reid

Merge branch 'dev' of https://github.com/mackron/miniaudio into dev

parents ea7f42ea 3191f1a2
...@@ -25716,7 +25716,7 @@ static ma_result ma_device__untrack__coreaudio(ma_device* pDevice) ...@@ -25716,7 +25716,7 @@ static ma_result ma_device__untrack__coreaudio(ma_device* pDevice)
ma_uint32 previousState = ma_device_get_state(m_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); ma_device_stop(m_pDevice);
} }
...@@ -25731,7 +25731,7 @@ static ma_result ma_device__untrack__coreaudio(ma_device* 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); 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); ma_device_start(m_pDevice);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment