Commit 9d1aee1a authored by David Reid's avatar David Reid

Core Audio: Fix a warning on the iOS build.

parent 96e8b37d
......@@ -24979,7 +24979,7 @@ static ma_result ma_device_init_internal__coreaudio(ma_context* pContext, ma_dev
}
if (status != noErr) {
((ma_AudioComponentInstanceDispose_proc)pContext->coreaudio.AudioComponentInstanceDispose)(pData->audioUnit);
return result;
return ma_result_from_OSStatus(status);
}
#if defined(MA_APPLE_DESKTOP)
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