Instance Property

sampleRate

The audio format sampling rate in hertz.

Declaration

var sampleRate: Double { get }

See Also

Getting Audio Format Values

var channelCount: AVAudioChannelCount

The number of channels of audio data.

var channelLayout: AVAudioChannelLayout?

The underlying audio channel layout.

var formatDescription: CMAudioFormatDescription

The audio format description as a CMAudioFormatDescription, for use with Core Media APIs.