版本

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

◆ SetBusDevice() [2/2]

AKSOUNDENGINE_API AKRESULT AK::SoundEngine::SetBusDevice ( const char *  in_BusName,
const char *  in_DeviceName 
)

Sets the Audio Device to which a master bus outputs. This overrides the setting in the Wwise project.
Can only be set on top-level busses. The Init bank should be successfully loaded prior to this call.

备注: This function is useful only if used before the creation of an output, at the beginning of the sound engine setup. Once active outputs using this Bus have been created, it is imperative to use AK::SoundEngine:ReplaceOutput instead to change the type of output.
返回
AK_IDNotFound when either the Bus ID or the Device ID are not present in the Init bank or the bank was not loaded AK_InvalidParameter when the specified bus is not a Master Bus. This function can be called only on busses that have no parent bus.
参数
in_BusNameName of the master bus
in_DeviceNameNew device shareset to replace with.

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅