Instance Property


Access the buffer's int32_t audio samples.


var int32ChannelData: UnsafePointer<UnsafeMutablePointer<Int32>>? { get }


The int32ChannelData property returns the buffer's audio samples if the buffer's format has 4-byte integer samples, or nil if it is another format.

See floatChannelData for more information.

See Also

Accessing PCM Buffer Data

var floatChannelData: UnsafePointer<UnsafeMutablePointer<Float>>?

The buffer's audio samples as floating point values.

var frameCapacity: AVAudioFrameCount

The buffer's capacity, in audio sample frames.

var stride: Int

The buffer's number of interleaved channels.