- bufferSize
- Size of the buffer to allocate.
- nPackets
- Number of packets descriptors in the audio queue buffer.
- audioQueueBuffer
- The allocated buffer on return
AudioQueueStatus.Ok on success and the audioQueueBuffer pointing to the buffer, otherwise the error.
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.