Version

menu_open
Wwise SDK 2021.1.14

◆ RegisterResourceMonitorCallback()

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

Registers a resource monitor callback function that gets all of the resource usage data contained in the AkResourceMonitorDataSummary structure. This includes general information about the system, such as CPU usage, active Voices, and Events. 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.

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