Asks an audio queue to dispose of an audio queue buffer.
- iOS 2.0+
- macOS 10.5+
- Mac Catalyst 13.0+
- tvOS 9.0+
The audio queue that owns the audio queue buffer you want to dispose of.
The buffer to dispose of.
A result code. See Result Codes.
Disposing of an audio queue also disposes of its buffers. Call this function only if you want to dispose of a particular buffer while continuing to use an audio queue. You can dispose of a buffer only when the audio queue that owns it is stopped (that is, not processing audio data).