Version

menu_open
Wwise SDK 2023.1.4

◆ SetPosition()

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

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

Remarks
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.
Returns
AK_Success if the resulting position is valid
See also
Parameters
in_iMoveOffsetSeek offset
in_eMoveMethodSeek method, from the beginning, end or current file position|

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