Version

menu_open
Wwise SDK 2021.1.14

◆ 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_eType Type of callback.
in_pCallbackInfo Pointer 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 267 of file AkCallback.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