---
title: volumeDecibelValue
framework: Core Audio
role: symbol
role_heading: Instance Property
platforms: [macOS 15.0+]
path: coreaudio/audiohardwarecontrol/volumedecibelvalue
---

# volumeDecibelValue

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

## Declaration

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

## Discussion

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.
