Version

menu_open
Wwise SDK 2022.1.12

◆ SetPosition()

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

Set the stream position. Modifies the position for the next read/write operation.

Warning
No operation should be pending.
Remarks
The new position will snap to the lowest block boundary.
Returns
AK_Success if the stream position was changed
See also
Parameters
in_iMoveOffsetSeek offset
in_eMoveMethodSeek method, from the beginning, end, or current file position
out_piRealOffsetThe actual seek offset may differ from the expected value when the block size is bigger than 1. In that case, the seek offset floors to the sector boundary. Can pass NULL.

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