Table des matières

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

This method is called to tell the source to seek to an arbitrary sample. This will typically be called when the game calls AK::SoundEngine::SeekOnEvent() where the event plays a sound that wraps this source plug-in. If the plug-in does not handle seeks, it should return AK_Success. If it returns AK_Fail, it will be terminated by the sound engine.

  • AK_Success if the source handles or ignores seek command.
  • AK_Fail if the source considers that seeking requests should provoke termination, for example, if the desired position is greater than the prescribed source duration.
See also:

Definition at line 1041 of file IAkPlugin.h.

References AK_Success.