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

# setIsActive(_:)

Set the isActive property.

## Declaration

```swift
func setIsActive(_ active: Bool) throws
```

## Parameters

- `active`: A Bool where a value of true indicates that the stream is enabled for IO.
