Version

menu_open
Wwise SDK 2021.1.14

◆ AkCaptureCallbackFunc

typedef void( * AkCaptureCallbackFunc) (AkAudioBuffer &in_CaptureBuffer, AkOutputDeviceID in_idOutput, void *in_pCookie)

Callback prototype used for audio capture callback registration. This callback will be called at the end of each audio frame for each output device that has been registered.

Remarks
This callback will be executed on the main audio thread during real-time rendering and will be executed on the thread that AK::SoundEngine::RenderAudio is called from when offline rendering is enabled.
The processing time in the callback function should be minimal. Having too much processing time could cause voice starvation during real-time rendering.
Note that a callback registered with in_idOutput equal to AK_INVALID_OUTPUT_DEVICE_ID, will receive the AkOutputDeviceID associated with the main output device.
See also

Definition at line 409 of file AkCallback.h.


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