MonoMac.AudioToolbox.AudioFile.WritePackets Method
Write audio packets to the audio file.

Syntax

public int WritePackets (bool useCache, long inStartingPacket, AudioStreamPacketDescription[] inPacketDescriptions, IntPtr buffer, int count)

Parameters

useCache
Whether the data should be kept in the cache.
inStartingPacket
The starting packet in the packetDescriptions that should be written.
inPacketDescriptions
An array of packet descriptions that describe the contents of the buffer.
buffer
The buffer containing the audio data.
count
The number of bytes to write.

Returns

The number of packets written or -1 on error.

Remarks

Requirements

Namespace: MonoMac.AudioToolbox
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0