arrow_right Table of Contents

Other Documentation

Wwise SDK 2021.1.8

◆ 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. SetBusDevice must be preceded by a call to AddOutput for the new device shareset to be registered as an 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_BusName Name of the master bus
in_DeviceName New device shareset to replace with.