---
title: "setVolumeDecibelValue(_:)"
framework: Core Audio
role: symbol
role_heading: Instance Method
platforms: [macOS 15.0+]
path: "coreaudio/audiohardwarecontrol/setvolumedecibelvalue(_:)"
---

# setVolumeDecibelValue(_:)

Set the decibelScalarValue property.

## Declaration

```swift
func setVolumeDecibelValue(_ value: Float) throws
```

## Parameters

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