Table des matières

Wwise SDK 2019.1.8

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