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

# process(for:)

## Declaration

```swift
func process(for PID: pid_t) throws -> AudioHardwareProcess?
```

## Parameters

- `PID`: A pid_t representing the PID of the process object to obtain.

## Return Value

Return Value The AudioHardwareProcess that corresponds with the given PID, or nil if the PID does not correspond with any process object.
