<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreAudio",
  "identifier" : "/documentation/CoreAudio/AudioHardwareControl/volumeDecibelValue",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Audio"
    ],
    "preciseIdentifier" : "s:9CoreAudio0B15HardwareControlC18volumeDecibelValueSfvp"
  },
  "title" : "volumeDecibelValue"
}
-->

# volumeDecibelValue

A Float that represents the value of the volume control in dB.

```
var volumeDecibelValue: Float { get throws }
```

## Discussion

Note that the set of all Float values in the dB range for the control is much larger
than the set of actual values that the hardware can select. This means that the Float
range has a many to one mapping with the underlying hardware values. As such, setting
a dB value will result in the control taking on the value nearest to what was set.

---

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)