Wwise SDK 2023.1.5

◆ 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.

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
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