Encoder Settings

Audio encoder settings for the AVAudioRecorder class.

Topics

Constants

let AVEncoderBitRateKey: String

An integer that identifies the audio bit rate.

let AVEncoderBitRatePerChannelKey: String

An integer that identifies the audio bit rate per channel.

let AVEncoderBitRateStrategyKey: String

An AVAudioBitRateStrategy constant.

let AVEncoderBitDepthHintKey: String

An integer ranging from 8 through 32.

See Also

Settings

General Audio Format Settings

Audio settings that apply to all audio formats handled by the AVAudioPlayer and AVAudioRecorder classes.

AVEncoderBitRateStrategyKey Values

These constants are the supported values for the AVEncoderBitRateStrategyKey encoder setting.

AVSampleRateConverterAlgorithmKey Values

These constants are the supported values for the AVEncoderBitRateStrategyKey encoder setting.