Version

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

Returns:
  • 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.


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