版本

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

◆ GetAudioOut2SpeakerAngles()

void AK::GetAudioOut2SpeakerAngles ( AkReal32  out_pfSpeakerAngles[3],
AkReal32 out_rfHeightAngle,
const SceAudioOut2SpeakerInfo &  in_rInfo 
)

Using data provided by SceAudioOut2SpeakerInfo, as obtained by sceAudioOut2GetSpeakerInfo, populates out_pfSpeakerAngles and out_rfHeightAngle with appropriate data to use for AK::SoundEngine::SetSpeakerAngles.

If you are using this to set speaker angles manually, ensure that new angles are recognized and set, even if the user's speaker configuration changes, by periodically checking for differences in SceAudioOut2SpeakerInfo's state.

Note that when AkPlatformInitSettings::bUseAudioOut2SpeakerAngles is enabled, the system calls AK::SoundEngine::SetSpeakerAngles for system output devices automatically at initialization, and when any change in the user's speaker configuration is detected.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅