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

返回

适用于