Audio Settings and Formats

Define audio data with these constants and classes.

Topics

Formats

AVAudioFormat

A class that represents a buffer of audio data with a format.

AVAudioChannelLayout

The roles of a set of audio channels.

AVChannelLayoutKey

The corresponding value is an NSData object containing an AudioChannelLayout structure.

Linear PCM Format Settings

Apply audio settings to linear PCM audio formats.

General Audio Format Settings

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

Settings

Sample Rate Conversion Settings

Sample rate converter audio quality settings.

AVAudioQuality

Keys that specify sample rate conversion quality.

Encoder Settings

Audio encoder settings for the AVAudioRecorder class.

Time Pitch Algorithm Settings

The constants define the values for the time pitch algorithms.

Constants

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.

See Also

First Steps

AVAudioFile

An audio file that can be opened for reading or writing.

AVAudioBuffer

A buffer of audio data and its format.

AVAudioTime

A class used by the audio engine to represent time.