Table des matières

virtual AKRESULT AK::IAkSourcePlugin::TimeSkip ( AkUInt32  )  [inline, virtual]

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 (PS3 platform only) will produce a 'resume' virtual voice behavior instead.

Definition at line 1051 of file IAkPlugin.h.

References AK_NotImplemented.