Version

menu_open
Wwise SDK 2022.1.12

◆ ChangeAudioSessionProperties()

AKSOUNDENGINE_API void AK::SoundEngine::iOS::ChangeAudioSessionProperties ( const AkAudioSessionProperties in_properties)

Change the category and options of the app's AVAudioSession without restarting the entire Sound Engine.

Remarks
As per Apple recommendations, the AVAudioSession will be deactivated and then reactivated. Therefore, the primary output device must be reinitialized, which causes all audio to stop for a short period of time. For a seamless transition, call this API during moments of complete silence in your game.
See also
Parameters
in_propertiesNew properties to apply to the app's AVAudioSession shared instance.

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise