Wwise SDK 2025.1.0
|
#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.h 第 914 行定义.