Version

menu_open
Wwise SDK 2023.1.6

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

Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise