AudioFile.ReadFixedPackets 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
ReadFixedPackets(Int64, Int32, Byte[]) |
Reads |
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[]
- error
- AudioFileError
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
- error
- AudioFileError