Commit f1b38ef0 authored by David Reid's avatar David Reid

Core Audio: Clean up.

parent 9a6351ed
......@@ -13788,6 +13788,10 @@ mal_result mal_context_get_device_info__coreaudio(mal_context* pContext, mal_dev
return mal_result_from_OSStatus(status);
}
((mal_AudioComponentInstanceDispose_proc)pContext->coreaudio.AudioComponentInstanceDispose)(audioUnit);
audioUnit = NULL;
pDeviceInfo->minChannels = bestFormat.mChannelsPerFrame;
pDeviceInfo->maxChannels = bestFormat.mChannelsPerFrame;
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