---
title: AVSampleRateKey
framework: avfaudio
role: symbol
role_heading: Global Variable
path: avfaudio/avsampleratekey
---

# AVSampleRateKey

A floating point value that represents the sample rate, in hertz.

## Declaration

```swift
let AVSampleRateKey: String
```

## See Also

### Settings

- [AVFormatIDKey](avfaudio/avformatidkey.md)
- [AVNumberOfChannelsKey](avfaudio/avnumberofchannelskey.md)
