版本

menu_open
警告:系统已根据您所用大版本 (2023.1.3.8471) 自动跳转至最新文档。若想访问特定版本的文档,请从 Audiokinetic Launcher 下载离线文档,并在 Wwise 设计程序中勾选 Offline Documentation 选项。
Wwise SDK 2023.1.3

◆ 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.
参见
参数
in_propertiesNew properties to apply to the app's AVAudioSession shared instance.

此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅