Version

menu_open
Wwise SDK 2022.1.18

◆ AkCallbackFunc

typedef void( * AkCallbackFunc) (AkCallbackType in_eType, AkCallbackInfo *in_pCallbackInfo)

Function called on completion of an event, or when a marker is reached.

Parameters
in_eTypeType of callback.
in_pCallbackInfoPointer to structure containing callback information. This pointer is invalidated as soon as the callback function returns.
Remarks
An event is considered completed once all of its actions have been executed and all the playbacks in this events are terminated.
This callback is executed from the audio processing thread. The processing time in the callback function should be minimal. Having too much processing time could result in slowing down the audio processing.
Before waiting on an AK_EndOfEvent, make sure that the event is going to end. Some events can be continuously playing or infinitely looping, and the callback will not occur unless a specific stop event is sent to terminate the event.
See also

Definition at line 266 of file AkCallback.h.


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

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