AudioConverter.FillComplexBuffer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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