<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreAudio",
  "identifier" : "/documentation/CoreAudio/AudioHardwareProcess",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Core Audio"
    ],
    "preciseIdentifier" : "s:9CoreAudio0B15HardwareProcessC"
  },
  "title" : "AudioHardwareProcess"
}
-->

# AudioHardwareProcess

Instances of the AudioHardwareProcess class encapsulate a single audio process, which contains
information about a client process connected to the HAL.

```
class AudioHardwareProcess
```

## Topics

### Initializers

[`init(id: AudioObjectID)`](/documentation/CoreAudio/AudioHardwareProcess/init(id:))

### Instance Properties

[`var bundleID: String?`](/documentation/CoreAudio/AudioHardwareProcess/bundleID)

A String that contains the bundle ID of the process.

[`var devices: [AudioHardwareDevice]`](/documentation/CoreAudio/AudioHardwareProcess/devices)

An array of AudioHardwareDevices that represent the devices currently used by the
process for output.

[`var isRunning: Bool`](/documentation/CoreAudio/AudioHardwareProcess/isRunning)

A Bool where a value of true indicates that there is audio IO in progress in the process.

[`var isRunningInput: Bool`](/documentation/CoreAudio/AudioHardwareProcess/isRunningInput)

A Bool where a value of true indicates that the process is running IO and there is at
least one active input stream.

[`var isRunningOutput: Bool`](/documentation/CoreAudio/AudioHardwareProcess/isRunningOutput)

A Bool where a value of true indicates that the process is running IO and there is at
least one active output stream.

[`var pid: pid_t`](/documentation/CoreAudio/AudioHardwareProcess/pid)

A pid_t indicating the process ID associated with the process.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

### Inherits From

[`AudioHardwareObject`](/documentation/CoreAudio/AudioHardwareObject)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)