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

# setPowerHint(_:)

Set the powerHint property.

## Declaration

```swift
func setPowerHint(_ hint: AudioHardwarePowerHint) throws
```

## Parameters

- `hint`: An AudioHardwarePowerHint enum indicating how aggressive the system can be with optimizations that save power.
