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

# setSliderValue(_:)

Set the sliderValue property.

## Declaration

```swift
func setSliderValue(_ value: UInt32) throws
```

## Parameters

- `value`: A UInt32 that represents the value of the slider control.
