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.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för