版本

menu_open
Wwise SDK 2023.1.8

◆ AkCallbackFunc

typedef void( * AkCallbackFunc) (AkCallbackType in_eType, AkCallbackInfo *in_pCallbackInfo)

Function called on completion of an event, or when a marker is reached.

参数
in_eTypeType of callback.
in_pCallbackInfoPointer to structure containing callback information. This pointer is invalidated as soon as the callback function returns.
备注
An event is considered completed once all of its actions have been executed and all the playbacks in this events are terminated.
This callback is executed from the audio processing thread. The processing time in the callback function should be minimal. Having too much processing time could result in slowing down the audio processing.
Before waiting on an AK_EndOfEvent, make sure that the event is going to end. Some events can be continuously playing or infinitely looping, and the callback will not occur unless a specific stop event is sent to terminate the event.
参见

在文件 AkCallback.h266 行定义.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅