Bewerken

Delen via


AudioConverter.FillComplexBuffer Method

Definition

Overloads

FillComplexBuffer(Int32, AudioBuffers, AudioStreamPacketDescription[])

Converts audio data supporting non-interleaved and packetized formats.

FillComplexBuffer(Int32, AudioBuffers, AudioStreamPacketDescription[], AudioConverterComplexInputData)

FillComplexBuffer(Int32, AudioBuffers, AudioStreamPacketDescription[])

Converts audio data supporting non-interleaved and packetized formats.

public AudioToolbox.AudioConverterError FillComplexBuffer (ref int outputDataPacketSize, AudioToolbox.AudioBuffers outputData, AudioToolbox.AudioStreamPacketDescription[] packetDescription);
member this.FillComplexBuffer :  * AudioToolbox.AudioBuffers * AudioToolbox.AudioStreamPacketDescription[] -> AudioToolbox.AudioConverterError

Parameters

outputDataPacketSize
Int32

The capacity of converted output data expressed in packets

outputData
AudioBuffers

The converted output data.

packetDescription
AudioStreamPacketDescription[]

An array of packet descriptions.

Returns

Remarks

The InputData event is invoked to supply the input data for the conversion.

Applies to

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

Parameters

outputDataPacketSize
Int32
outputData
AudioBuffers
packetDescription
AudioStreamPacketDescription[]
newInputDataHandler
AudioConverterComplexInputData

Returns

Applies to