AudioQueueBuffer
Defines an audio queue buffer.
Declaration
struct AudioQueueBufferOverview
Each audio queue has an associated set of audio queue buffers. To allocate a buffer, call the AudioQueueAllocateBuffer(_:_:_:) function. To dispose of a buffer, call the AudioQueueFreeBuffer(_:_:) function.
If using a VBR compressed audio data format, you may want to instead use the AudioQueueAllocateBufferWithPacketDescriptions function. This function allocates a buffer with additional space for packet descriptions. The mPacketDescriptionCapacity, mPacketDescriptions, and mPacketDescriptionCount fields may only be used with buffers allocated with AudioQueueAllocateBufferWithPacketDescriptions.