PartyAudioManipulationSinkStream::GetFormat
检索将提交到 PartyAudioManipulationSinkStream::SubmitBuffer() 的缓冲区的格式。
语法
PartyError GetFormat(
PartyAudioFormat* format
)
参数
format
PartyAudioFormat*
输出
检索将提交到 PartyAudioManipulationSinkStream::SubmitBuffer() 的缓冲区的格式。
返回值
PartyError
如果调用成功,则为 c_partyErrorSuccess
,否则为错误代码。 可通过 PartyManager::GetErrorMessage() 检索错误代码的可读形式。
备注
如果在由 PartyAudioManipulationSinkStream::GetConfiguration()提供的配置中指定格式,则此格式将匹配。 否则,此格式将是库自动选择的最有效格式。
要求
标题: Party.h
另请参阅
PartyAudioManipulationSinkStream
PartyLocalChatControl::ConfigureAudioManipulationCaptureStream
PartyLocalChatControl::ConfigureAudioManipulationRenderStream
PartyAudioManipulationSinkStream::SubmitBuffer
PartyAudioManipulationSinkStream::GetConfiguration