Table of Contents

Wwise SDK 2019.2.3

◆ RegisterResourceMonitorCallback()

AKSOUNDENGINE_API AKRESULT __cdecl AK::SoundEngine::RegisterResourceMonitorCallback ( AkResourceMonitorCallbackFunc  in_pCallback )

Registers a resource monitor callback function. This function will be called from the audio rendering thread, at the end of each frame.

Remarks
If the callback is being timed, it will contribute to the Total Plug-in CPU measurement, and also appear in the Plug-ins tab of the Advanced Profiler by plug-in type and ID. It is illegal to call this function while already inside of a resource callback. This function might stall for several milliseconds before returning. this function will return AK_Fail in Release
See also
Parameters
in_pCallback Function to register as a resource monitor callback.