版本

menu_open
Wwise SDK 2018.1.11

◆ TimeSkip()

virtual AKRESULT AK::IAkSourcePlugin::TimeSkip ( AkUInt32 )
inlinevirtual

Skips execution when the voice is virtual playing from elapsed time to simulate processing that would have taken place (e.g. update internal state) while avoiding most of the CPU hit of plug-in execution. Given the number of frames requested adjust the number of frames that would have been produced by a call to Execute() in the io_uFrames parameter and return and return AK_DataReady or AK_NoMoreData, depending if there would be audio output or not at that point. Returning AK_NotImplemented will trigger a normal execution of the voice (as if it was not virtual) thus not enabling the CPU savings of a proper from elapsed time behavior. Note that returning AK_NotImplemeted for a source plug-ins that support asynchronous processing will produce a 'resume' virtual voice behavior instead.

在文件 IAkPlugin.h1080 行定义.

引用了 AK_NotImplemented.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅