版本
menu

Wwise SDK 2025.1.0
AkCmd_SetBusAudioDevice结构体 参考

#include <AkCommandTypes.h>

Public 属性

AkUniqueID busID
 ID of the master bus 更多...
 
AkUniqueID audioDeviceSharesetID
 ID of Audio Device shareset to become the new destination output of the master bus. 更多...
 

详细描述

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.

备注: This command 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 AkCmd_ReplaceOutput instead to change the type of output.

This command can fail for the following reasons:

  • AK_InvalidParameter when busID or outputDeviceID are invalid IDs.
  • AK_IDNotFound when either the Bus ID or the Device ID are not present in the Init bank or when the specified bus is not a top-level bus.
参见

在文件 AkCommandTypes.h914 行定义.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅