AudioToolbox.AudioQueue.AllocateBufferWithPacketDescriptors Method
Allocates an audio queue object for variable-bit-rate buffers.

Syntax

public AudioQueueStatus AllocateBufferWithPacketDescriptors (int bufferSize, int nPackets, out IntPtr audioQueueBuffer)

Parameters

bufferSize
Size of the buffer to allocate.
nPackets
Number of packets descriptors in the audio queue buffer.
audioQueueBuffer
The allocated buffer on return

Returns

AudioQueueStatus.Ok on success and the audioQueueBuffer pointing to the buffer, otherwise the error.

Remarks

Use the AudioToolBox.AudioQueue.AllocateBuffer to allocate buffers that will be used with fixed bit rate encodings.

Use AudioToolBox.AudioQueue.FreeBuffer to dispose the buffer.

Requirements

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