Type Alias

AudioSampleType

The canonical audio data sample type for input and output.

Declaration

iOS, tvOS, watchOS
typealias AudioSampleType = Int16
macOS, UIKit for Mac
typealias AudioSampleType = Float32

Discussion

The canonical audio sample type for input and output in iPhone OS is linear PCM with 16-bit integer samples.