<!--
{
  "availability" : [
    "iOS: 3.0.0 - 6.0.0",
    "iPadOS: 3.0.0 - 6.0.0",
    "macCatalyst: 14.0.0 - 14.0.0",
    "visionOS: 1.0.0 - 1.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "AVFAudio",
  "identifier" : "/documentation/AVFAudio/AVAudioSession/currentHardwareSampleRate",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFAudio"
    ],
    "preciseIdentifier" : "c:objc(cs)AVAudioSession(py)currentHardwareSampleRate"
  },
  "title" : "currentHardwareSampleRate"
}
-->

# currentHardwareSampleRate

The audio hardware sample rate, in hertz.

```
var currentHardwareSampleRate: Double { get }
```

## Discussion

Obtain the value of this property after activating your audio session. After successful activation, the value of this property doesn’t change while your session remains active.

---

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)