Version

menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2022.1.17.8543 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
Wwise SDK 2022.1.17

◆ 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 408 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