Contents

int16ChannelData

The buffer’s 16-bit integer audio samples.

Declaration

var int16ChannelData: UnsafePointer<UnsafeMutablePointer<Int16>>? { get }

Discussion

The int16ChannelData property returns the buffer’s audio samples if the buffer’s format has 2-byte integer samples, or nil if it’s another format. For more information, see floatChannelData.

See Also

Accessing PCM Buffer Data