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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for