<!--
{
  "documentType" : "article",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/audio-settings",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Audio settings"
}
-->

# Audio settings

Configure audio processing settings using standard key and value constants.

## Topics

### Formats

  <doc://com.apple.documentation/documentation/AVFAudio/AVAudioFormat>

  <doc://com.apple.documentation/documentation/AVFAudio/AVAudioChannelLayout>

  <doc://com.apple.documentation/documentation/AVFAudio/AVChannelLayoutKey>

[Linear PCM format settings](/documentation/AVFoundation/linear-pcm-format-settings)

The audio settings that apply to linear PCM audio formats.

[Format settings](/documentation/AVFoundation/format-settings)

The audio settings that apply to all audio formats that the audio player and recorder classes support.

### Settings

[Sample rate conversion settings](/documentation/AVFoundation/sample-rate-conversion-settings)

The constants that define sample rate converter audio quality settings.

  <doc://com.apple.documentation/documentation/AVFAudio/AVAudioQuality>

[Encoder settings](/documentation/AVFoundation/encoder-settings)

The constants that define the audio encoder settings for the audio recorder class.

[Time pitch algorithm settings](/documentation/AVFoundation/time-pitch-algorithm-settings)

The constants that define the values for the time pitch algorithms.

### Constants

[Encoder bit rate strategy values](/documentation/AVFoundation/encoder-bit-rate-strategy-values)

The constants that represent the possible bit rate strategy values.

  <doc://com.apple.documentation/documentation/AVFAudio/AVAUDIOENGINE_HAVE_AUAUDIOUNIT>



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)