Version

    Other Documentation

menu_open
Wwise SDK 2021.1.14

◆ RegisterCaptureCallback()

AKSOUNDENGINE_API AKRESULT AK::SoundEngine::RegisterCaptureCallback ( AkCaptureCallbackFunc  in_pfnCallback,
AkOutputDeviceID  in_idOutput = AK_INVALID_OUTPUT_DEVICE_ID,
void *  in_pCookie = NULL 
)

Registers a callback used for retrieving audio samples. The callback will be called from the audio thread during real-time rendering and from the main thread during offline rendering.

See also
Parameters
in_pfnCallback Capture callback function to register.
in_idOutput The audio device specific id, return by AK::SoundEngine::AddOutput or AK::SoundEngine::GetOutputID
in_pCookie Callback cookie that will be sent to the callback function along with additional information

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