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

# setBooleanValue(_:)

Set the booleanValue property.

## Declaration

```swift
func setBooleanValue(_ value: Bool) throws
```

## Parameters

- `value`: A Bool that represents the value of the boolean control.
