Version
menu

Wwise SDK 2025.1.0
AkCmd_SetBusAudioDevice Struct Reference

#include <AkCommandTypes.h>

Public Attributes

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

Detailed Description

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.

Note: 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.
See also

Definition at line 914 of file AkCommandTypes.h.


Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise