ma_bool32 noAudioSessionActivate; /* iOS only. When set to true, does not perform an explicit [[AVAudioSession sharedInstace] setActive:true] on initialization. */
ma_bool32 noAudioSessionDeactivate; /* iOS only. When set to true, does not perform an explicit [[AVAudioSession sharedInstace] setActive:false] on uninitialization. */
} coreaudio;
} coreaudio;
struct
struct
{
{
...
@@ -3479,6 +3481,8 @@ struct ma_context
...
@@ -3479,6 +3481,8 @@ struct ma_context
ma_proc AudioUnitRender;
ma_proc AudioUnitRender;
/*AudioComponent*/ ma_ptr component;
/*AudioComponent*/ ma_ptr component;
ma_bool32 noAudioSessionDeactivate; /* For tracking whether or not we should explicitly deactivation the audio session on iOS. Set from the config in ma_context_init__coreaudio(). */