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

# setAllowsHogMode(_:)

Set the allowsHogMode property.

## Declaration

```swift
func setAllowsHogMode(_ allowed: Bool) throws
```

## Parameters

- `allowed`: A Bool where true indicates that this process wants the HAL to automatically take hog mode on behalf of the process.
