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.


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