Contents

AUGraphNewNodeSubGraph(_:_:)

Creates a node object to represent a subgraph.

Declaration

func AUGraphNewNodeSubGraph(_ inGraph: AUGraph, _ outNode: UnsafeMutablePointer<AUNode>) -> OSStatus

Parameters

  • inGraph:

    The AUGraph object that you want to add a subgraph to.

  • outNode:

    The node that represents the subgraph.

Return Value

A result code.

Discussion

This function creates a node that represents a subgraph. The subgraph can be retrieved with the AUGraphGetNodeInfoSubGraph(_:_:_:) function. The subgraph is owned by the parent graph and will be disposed when the parent graph is disposed or when the node is removed from the parent graph.

See Also

Audio Unit Processing Graph Services Functions