PartyAudioManipulationSourceStream::ReturnBuffer

Tells the library it can reclaim memory associated with this buffer.

Syntax

PartyError ReturnBuffer(  
    void* buffer  
)  

Parameters

buffer   void*
input not valid afterwards

The buffer to return, which is the buffer field of a PartyDataBuffer previously retrieved from this source stream PartyAudioManipulationSourceStream::GetNextBuffer().

Return value

PartyError

c_partyErrorSuccess if the call succeeded or an error code otherwise. The human-readable form of the error code can be retrieved via PartyManager::GetErrorMessage().

Requirements

Header: Party.h

See also

PartyAudioManipulationSourceStream
PartyAudioManipulationSourceStream::GetNextBuffer