Wwise Version
arrow_right Table of Contents
Wwise SDK 2021.1.6

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

No operation should be pending.
The new position will snap to the lowest block boundary.
AK_Success if the stream position was changed
See also
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 block size is bigger than 1. In that case, the seek offset floors to the sector boundary. Can pass NULL.