Table of Contents

AKRESULT __cdecl AK::SoundEngine::RegisterGlobalCallback ( AkGlobalCallbackFunc  in_pCallback  ) 

Register a global callback function. This function will be called from the main audio thread for each rendered audio frame. This function will also be called from the thread calling AK::SoundEngine::Term with the bLastCall parameter set to true.

Remarks:
It is illegal to call this function while already inside of a global callback. This function might stall for several milliseconds before returning.
See also:
UnregisterGlobalCallback
Parameters:
in_pCallback  Function to register as a global callback.