Commit 47dccc52 authored by David Reid's avatar David Reid

iOS: Fix a compilation warning with MA_DEBUG_OUTPUT.

parent d6a56e40
......@@ -26038,7 +26038,7 @@ static ma_result ma_device__untrack__coreaudio(ma_device* pDevice)
if (reason == AVAudioSessionRouteChangeReasonNewDeviceAvailable || reason == AVAudioSessionRouteChangeReasonCategoryChange || reason == AVAudioSessionRouteChangeReasonOverride) {
#if defined(MA_DEBUG_OUTPUT)
printf("[Core Audio] Changing Route. inputNumberChannels=%d; outputNumberOfChannels=%d\n", pSession.inputNumberOfChannels, pSession.outputNumberOfChannels);
printf("[Core Audio] Changing Route. inputNumberChannels=%d; outputNumberOfChannels=%d\n", (int)pSession.inputNumberOfChannels, (int)pSession.outputNumberOfChannels);
#endif
m_pDevice->sampleRate = (ma_uint32)pSession.sampleRate;
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