<!--
{
  "availability" : [
    "iOS: 2.0.0 - 27.0.0",
    "iPadOS: 2.0.0 - 27.0.0",
    "macCatalyst: 13.1.0 - 27.0.0",
    "macOS: 10.5.0 - 27.0.0",
    "tvOS: 9.0.0 - 27.0.0",
    "visionOS: 1.0.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "AudioToolbox",
  "identifier" : "/documentation/AudioToolbox/AUGraphAddNode(_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Audio Toolbox"
    ],
    "preciseIdentifier" : "c:@F@AUGraphAddNode"
  },
  "title" : "AUGraphAddNode(_:_:_:)"
}
-->

# AUGraphAddNode(_:_:_:)

Adds a node to an audio processing graph.

```
func AUGraphAddNode(_ inGraph: AUGraph, _ inDescription: UnsafePointer<AudioComponentDescription>, _ outNode: UnsafeMutablePointer<AUNode>) -> OSStatus
```

## Parameters

`inGraph`

The `AUGraph` object that you are adding a node to.

`inDescription`

The `AudioComponentDescription` object used to find and open the audio unit that you are adding as a new node.

`outNode`

The newly added node.

## Return Value

A result code.

## Discussion

Creates a node in an audio processing graph, using the supplied `AudioComponentDescription` object to find and open the audio unit for the node.

---

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)