Instance Property

mutableAudioBufferList

A mutable version of the buffer's underlying AudioBufferList.

Declaration

var mutableAudioBufferList: UnsafeMutablePointer<AudioBufferList> { get }

Discussion

Some lower-level CoreAudio and AudioToolbox API require a mutable AudioBufferList struct, for example, the AudioConverterConvertComplexBuffer(_:_:_:_:) function.

The mDataByteSize fields of this audio buffer list express the buffer's current frameCapacity. If the capacity is altered, you should modify the buffer's frameLength to match.

See Also

Getting the Audio Buffers

var audioBufferList: UnsafePointer<AudioBufferList>

The buffer's underlying AudioBufferList.