Table of Contents

virtual AKRESULT AK::IAkAutoStream::ReleaseBuffer (  )  [pure virtual]

Release buffer granted through GetBuffer(). Buffers are released in order.

Returns:
AK_Success if a valid buffer was released, AK_Fail if the user did not own any buffer.
Note:
To implementers: Clients like the sound engine may release buffers until this function returns AK_Fail. Failing to release a buffer should not be considered as a fatal error.
See also: