Version

    Other Documentation

menu_open
Wwise SDK 2023.1.2

◆ UnregisterGlobalCallback()

virtual AKRESULT AK::IAkGlobalPluginContext::UnregisterGlobalCallback ( AkGlobalCallbackFunc  in_pCallback,
AkUInt32  in_eLocation = AkGlobalCallbackLocation_BeginRender 
)
pure virtual

Unregister a global callback function, previously registered using RegisterGlobalCallback.

Remarks
It is only legal to call this function from inside the plug-in registration global callback, exclusively when receiving AkGlobalCallbackLocation::AkGlobalCallbackLocation_Term. This function should not be called from inside the plug-in instance (e.g. in Init, Execute, etc.) to prevent deadlocks when processing plug-ins in parallel. It is illegal to call this function while already inside of a registered global callback. This function might stall for several milliseconds before returning.
See also
Parameters
in_pCallbackFunction to unregister as a global callback.
in_eLocationMust match in_eLocation as passed to RegisterGlobalCallback for this callback.

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