Table of Contents

Wwise SDK 2019.1.6

◆ SetMixer() [2/2]

AKRESULT __cdecl AK::SoundEngine::SetMixer ( const char *  in_pszBusName,
AkUniqueID  in_shareSetID 
)

Sets a Mixer ShareSet at the specified bus.

Note: This function has unspecified behavior when adding a mixer to a currently playing bus which does not have any effects nor mixer, or removing the last mixer on a currently playing bus.
Note: This function will replace existing mixers on the node.
Returns
AK_IDNotFound is name not resolved, returns AK_Success otherwise.
Parameters
in_pszBusName Bus name
in_shareSetID ShareSets ID; pass AK_INVALID_UNIQUE_ID to remove.