版本

menu_open
Wwise SDK 2018.1.11

◆ SetPosition()

virtual AKRESULT AK::IAkAutoStream::SetPosition ( AkInt64  in_iMoveOffset,
AkMoveMethod  in_eMoveMethod,
AkInt64 out_piRealOffset 
)
pure virtual

Set the stream's position. The next call to AK::IAkAutoStream::GetBuffer() will grant data that corresponds to the position specified here.

备注
Data already streamed into the Stream Manager's memory might be flushed.
The new position will round down to the low-level I/O block size.
返回
AK_Success if the resulting position is valid
参见
参数
in_iMoveOffset Seek offset
in_eMoveMethod Seek method, from the beginning, end or current file position
out_piRealOffset The actual seek offset may differ from the expected value when the low-level's block size is greater than 1. In that case, the real absolute position rounds down to the block boundary. Can pass NULL.

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅