Edit

Share via


AudioFile.ReadFixedPackets Method

Definition

Overloads

ReadFixedPackets(Int64, Int32, Byte[])

Reads nPackets bytes into buffer, starting at inStartingPacket.

ReadFixedPackets(Int64, Int32, Byte[], AudioFileError)

Reads a fixed amount of audio data.

ReadFixedPackets(Boolean, Int64, Int32, Byte[], Int32, Int32)

Reads a fixed amount of audio data.

ReadFixedPackets(Boolean, Int64, Int32, Byte[], Int32, Int32, AudioFileError)

Reads a fixed amount of audio data.

ReadFixedPackets(Int64, Int32, Byte[])

Reads nPackets bytes into buffer, starting at inStartingPacket.

public AudioToolbox.AudioStreamPacketDescription[] ReadFixedPackets (long inStartingPacket, int nPackets, byte[] buffer);
member this.ReadFixedPackets : int64 * int * byte[] -> AudioToolbox.AudioStreamPacketDescription[]

Parameters

inStartingPacket
Int64
nPackets
Int32
buffer
Byte[]

Returns

Applies to

ReadFixedPackets(Int64, Int32, Byte[], AudioFileError)

Reads a fixed amount of audio data.

public AudioToolbox.AudioStreamPacketDescription[] ReadFixedPackets (long inStartingPacket, int nPackets, byte[] buffer, out AudioToolbox.AudioFileError error);
member this.ReadFixedPackets : int64 * int * byte[] *  -> AudioToolbox.AudioStreamPacketDescription[]

Parameters

inStartingPacket
Int64
nPackets
Int32
buffer
Byte[]

Returns

Applies to

ReadFixedPackets(Boolean, Int64, Int32, Byte[], Int32, Int32)

Reads a fixed amount of audio data.

public AudioToolbox.AudioStreamPacketDescription[] ReadFixedPackets (bool useCache, long inStartingPacket, int nPackets, byte[] buffer, int offset, int count);
member this.ReadFixedPackets : bool * int64 * int * byte[] * int * int -> AudioToolbox.AudioStreamPacketDescription[]

Parameters

useCache
Boolean
inStartingPacket
Int64
nPackets
Int32
buffer
Byte[]
offset
Int32
count
Int32

Returns

Applies to

ReadFixedPackets(Boolean, Int64, Int32, Byte[], Int32, Int32, AudioFileError)

Reads a fixed amount of audio data.

public AudioToolbox.AudioStreamPacketDescription[] ReadFixedPackets (bool useCache, long inStartingPacket, int nPackets, byte[] buffer, int offset, int count, out AudioToolbox.AudioFileError error);
member this.ReadFixedPackets : bool * int64 * int * byte[] * int * int *  -> AudioToolbox.AudioStreamPacketDescription[]

Parameters

useCache
Boolean
inStartingPacket
Int64
nPackets
Int32
buffer
Byte[]
offset
Int32
count
Int32

Returns

Applies to