AudioConverterComplexInputData Delegate
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.
Delegate associated with the E:AudioToolbox.AudioConverter.AudioConverterComplexInputData event.
public delegate AudioToolbox.AudioConverterError AudioConverterComplexInputData(ref int numberDataPackets, AudioBuffers data, ref AudioStreamPacketDescription[] dataPacketDescription);
type AudioConverterComplexInputData = delegate of * AudioBuffers * -> AudioConverterError
Parameters
- numberDataPackets
- Int32
On input, the minimum number of buffers required to fulfill the audio processing request; On output, the number of packets provided, you can return zero to indicate that no more audio data is available.
- data
- AudioBuffers
Audio buffers where you should deposit the data.
- dataPacketDescription
- AudioStreamPacketDescription[]
If this parameter is not null, your callback should fill out the array with packet descriptions, one for each packet provided to the AudioBuffer's data .
Return Value
Status code indicating the result of this operation.
Remarks
Methods of this signature are invoked in response to the FillComplexBuffer(Int32, AudioBuffers, AudioStreamPacketDescription[], AudioConverterComplexInputData) method requesting audio buffers to be provided.