Version

menu_open
Attention : vous avez été redirigé vers la plus récente documentation correspondant à votre version générale ( 2023.1.4.8496 ). Si vous souhaitez accéder à la documentation de votre version précise, veuillez télécharger la documentation hors ligne depuis l'Audiokinetic Launcher et sélectionner l'option de documentation Offline dans l'application de création Wwise.
Wwise SDK 2023.1.4

◆ 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.

Note: 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.
Returns
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.
Parameters
in_BusNameName of the master bus
in_DeviceNameNew device shareset to replace with.

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