- 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.