AV Foundation Audio Settings Constants

Overview

Use these audio settings keys to configure an AVAudioRecorder object. You can also use some of these keys to retrieve information about the sound associated with an AVAudioPlayer object, such as audio data format, sample rate, and number of channels.

Symbols

Constants

General Audio Format Settings

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

Linear PCM Format Settings

Audio settings that apply to linear PCM audio formats.

Encoder Settings

Audio encoder settings for the AVAudioRecorder class.

Sample Rate Conversion Settings

Sample rate converter audio quality settings.

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.

Time Pitch Algorithm Settings

The constants define the values for the time pitch algorithms.

AVChannelLayoutKey

Key to retrieve channel layout information for playback.

AVAudioQuality

Keys that specify sample rate conversion quality, used for the AVSampleRateConverterAlgorithmKey property.