Wwise 版本
arrow_right 目录
Wwise SDK 2018.1.11

◆ GetPosition()

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

Get the stream's position.

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().
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().
out_pbEndOfStream Returned end-of-stream flag (can pass NULL)