版本

    其他文档

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.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅