Table of Contents

Wwise SDK 2018.1.11

◆ ReleaseBuffer()

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

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

AK_Success if a valid buffer was released, AK_Fail if the user did not own any buffer.
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