<!--
{
  "availability" : [
    "macOS: 14.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreAudio",
  "identifier" : "/documentation/CoreAudio/AudioHardwareCreateProcessTap(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Audio"
    ],
    "preciseIdentifier" : "c:@F@AudioHardwareCreateProcessTap"
  },
  "title" : "AudioHardwareCreateProcessTap(_:_:)"
}
-->

# AudioHardwareCreateProcessTap(_:_:)

```
func AudioHardwareCreateProcessTap(_ inDescription: CATapDescription!, _ outTapID: UnsafeMutablePointer<AudioObjectID>!) -> OSStatus
```

## Parameters

`inDescription`

The CATapDescription that specifies how to build the Tap.

`outTapID`

The AudioObjectID of the newly created Tap.

## Return Value

An OSStatus indicating success or failure.

## Discussion

\abstract This routine creates a new Tap using the provided description.

---

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)