共用方式為


AudioConverter.FillComplexBuffer 方法

定義

多載

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

傳回

適用於