AudioConverter.FillComplexBuffer 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
FillComplexBuffer(Int32, AudioBuffers, AudioStreamPacketDescription[]) |
轉換支援非交錯和封包化格式的音訊資料。 |
FillComplexBuffer(Int32, AudioBuffers, AudioStreamPacketDescription[], AudioConverterComplexInputData) |
FillComplexBuffer(Int32, AudioBuffers, AudioStreamPacketDescription[])
轉換支援非交錯和封包化格式的音訊資料。
public AudioToolbox.AudioConverterError FillComplexBuffer (ref int outputDataPacketSize, AudioToolbox.AudioBuffers outputData, AudioToolbox.AudioStreamPacketDescription[] packetDescription);
member this.FillComplexBuffer : * AudioToolbox.AudioBuffers * AudioToolbox.AudioStreamPacketDescription[] -> AudioToolbox.AudioConverterError
參數
- outputDataPacketSize
- Int32
以封包表示的已轉換輸出資料容量
- outputData
- AudioBuffers
轉換的輸出資料。
- packetDescription
- AudioStreamPacketDescription[]
封包描述的陣列。
傳回
備註
系統會叫用 事件 InputData 來提供轉換的輸入資料。
適用於
FillComplexBuffer(Int32, AudioBuffers, AudioStreamPacketDescription[], AudioConverterComplexInputData)
public AudioToolbox.AudioConverterError FillComplexBuffer (ref int outputDataPacketSize, AudioToolbox.AudioBuffers outputData, AudioToolbox.AudioStreamPacketDescription[] packetDescription, AudioToolbox.AudioConverterComplexInputData newInputDataHandler);
member this.FillComplexBuffer : * AudioToolbox.AudioBuffers * AudioToolbox.AudioStreamPacketDescription[] * AudioToolbox.AudioConverterComplexInputData -> AudioToolbox.AudioConverterError
參數
- outputDataPacketSize
- Int32
- outputData
- AudioBuffers
- packetDescription
- AudioStreamPacketDescription[]
- newInputDataHandler
- AudioConverterComplexInputData