Version

menu_open
Wwise SDK 2019.2.15

◆ GetPosition()

virtual AkUInt64 AK::IAkAutoStream::GetPosition ( bool *  out_pbEndOfStream )
pure virtual

Get the stream's position.

Remarks
The stream position is the position seen by the user, not the position of the file already streamed into the Stream Manager's memory. The stream position is updated when buffers are released, using AK::IAkAutoStream::ReleaseBuffer().
Returns
The file position in bytes of the beginning of the first buffer owned by the user. If the user does not own a buffer, it returns the position of the beginning of the buffer that would be returned from a call to AK::IAkAutoStream::GetBuffer().
See also
Parameters
out_pbEndOfStream Returned end-of-stream flag (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