---
title: hogModePID
framework: Core Audio
role: symbol
role_heading: Instance Property
platforms: [macOS 15.0+]
path: coreaudio/audiohardwaredevice/hogmodepid
---

# hogModePID

A pid_t indicating the process that currently owns exclusive access to the device or a value of -1 indicating that the device is currently available to all processes.

## Declaration

```swift
var hogModePID: pid_t { get throws }
```

## Discussion

Discussion If the device is in a non-mixable mode, the HAL will automatically take hog mode on behalf of the first process to start an IOProc.
