Commit 0b3785ce authored by David Reid's avatar David Reid Committed by GitHub

Merge pull request #115 from haxiomic/dev

Add defined(MA_APPLE_MOBILE) guard around AVAudioSessionCategory code
parents a59682b9 82d80992
......@@ -20744,6 +20744,7 @@ ma_result ma_context_uninit__coreaudio(ma_context* pContext)
return MA_SUCCESS;
}
#if defined(MA_APPLE_MOBILE)
static AVAudioSessionCategory ma_to_AVAudioSessionCategory(ma_ios_session_category category)
{
/* The "default" and "none" categories are treated different and should not be used as an input into this function. */
......@@ -20762,6 +20763,7 @@ static AVAudioSessionCategory ma_to_AVAudioSessionCategory(ma_ios_session_catego
default: return AVAudioSessionCategoryAmbient;
}
}
#endif
ma_result ma_context_init__coreaudio(const ma_context_config* pConfig, ma_context* pContext)
{
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