Editar

Compartir a través de


PartyAudioManipulationSinkStream::GetFormat

Retrieves the format of the buffers that will be submitted to PartyAudioManipulationSinkStream::SubmitBuffer().

Syntax

PartyError GetFormat(  
    PartyAudioFormat* format  
)  

Parameters

format   PartyAudioFormat*
output

The format of the buffers that will be submitted to PartyAudioManipulationSinkStream::SubmitBuffer().

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().

Remarks

If a format is specified in the configuration provided by PartyAudioManipulationSinkStream::GetConfiguration(), this format will match. Otherwise, this format will be the most efficient format automatically selected by the library.

Requirements

Header: Party.h

See also

PartyAudioManipulationSinkStream
PartyLocalChatControl::ConfigureAudioManipulationCaptureStream
PartyLocalChatControl::ConfigureAudioManipulationRenderStream
PartyAudioManipulationSinkStream::SubmitBuffer
PartyAudioManipulationSinkStream::GetConfiguration