Version

    Other Documentation

menu_open
Wwise SDK 2019.2.15

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

Definition at line 1096 of file IAkPlugin.h.

References AK_NotImplemented.


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise