Warning: you were redirected to the latest documentation corresponding to your major release ( 2021.1.14.8108 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
|
◆ RegisterBusVolumeCallback()
Registers a callback to allow the game to modify or override the volume to be applied at the output of an audio bus. The callback must be registered once per bus ID. Call with in_pfnCallback = NULL to unregister.
|
Note: The bus in_busID needs to be a mixing bus. |
|
Note: The callback function will not be called for the Master Audio Bus, since the output of this bus is not a bus, but is instead an Audio Device. |
- See also
-
- Returns
-
- AK_Success if successful
- AK_IDNotFound if the bus is not found
- AK_InsufficientMemory if there is not enough memory to complete the operation
- Parameters
-
in_busID |
Bus ID, as obtained by GetIDFromString( bus_name ). |
in_pfnCallback |
Callback function. |
in_pCookie |
User cookie. |
|
Tell us about your project. We're here to help.
Register your project and we'll help you get started with no strings attached!
Get started with Wwise