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

◆ 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.h272 行定义.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅