AudioToolbox.AudioFile.ReadPacketData Method
Reads packets of audio data from an audio file.

Syntax

public AudioStreamPacketDescription[] ReadPacketData (bool useCache, long inStartingPacket, int nPackets, byte[] buffer, int offset, int count)

Parameters

useCache
If the data should be cached.
inStartingPacket
The index of the first packet to read.
nPackets
The number of packets to read.
buffer
The output buffer where packets are written.
offset
The offset in the output buffer where to start writing packets to.
count
The size of the output buffer (in bytes).

Returns

Array of packet descriptors for the packets that were read.

Remarks

Requirements

Namespace: AudioToolbox
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0