menu
 
版本
2024.1.2.8726

2024.1.2.8726

2023.1.10.8659

2022.1.18.8567

2021.1.14.8108

2019.2.15.7667

2019.1.11.7296

2018.1.11.6987

2017.2.10.6745

2017.1.9.6501

2016.2.6.6153

2015.1.9.5624


menu_open
Wwise SDK 2024.1.2

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

备注
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.
参见

在文件 AkCallback.h419 行定义.


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅