Function

AUGraphConnectNodeInput(_:_:_:_:_:)

Connects one node’s output to another node’s input.

Declaration

func AUGraphConnectNodeInput(_ inGraph: AUGraph, _ inSourceNode: AUNode, _ inSourceOutputNumber: UInt32, _ inDestNode: AUNode, _ inDestInputNumber: UInt32) -> OSStatus

Parameters

inGraph,

inSourceNode,

inSourceOutputNumber,

inDestNode,

inDestInputNumber

Return Value

A result code.

Discussion

See Also

Audio Unit Processing Graph Services Functions

func AUGraphAddRenderNotify(AUGraph, AURenderCallback, UnsafeMutableRawPointer?) -> OSStatus

Adds a render notification callback to an audio processing graph.

func AUGraphClearConnections(AUGraph) -> OSStatus

Clears all of the interactions in an audio unit processing graph.

func AUGraphClose(AUGraph) -> OSStatus

Closes an audio unit processing graph.

func AUGraphCountNodeInteractions(AUGraph, AUNode, UnsafeMutablePointer<UInt32>) -> OSStatus

Retrieves the number of interactions of an audio processing graph’s node.

func AUGraphGetCPULoad(AUGraph, UnsafeMutablePointer<Float32>) -> OSStatus

Obtains the short-term running average of the current CPU load of the audio processing graph.

func AUGraphGetIndNode(AUGraph, UInt32, UnsafeMutablePointer<AUNode>) -> OSStatus

Gets the audio processing graph node at a given index.

func AUGraphGetInteractionInfo(AUGraph, UInt32, UnsafeMutablePointer<AUNodeInteraction>) -> OSStatus

Retrieves information about a particular interaction in an audio processing graph.

func AUGraphGetMaxCPULoad(AUGraph, UnsafeMutablePointer<Float32>) -> OSStatus

Obtains the maximum CPU load of an audio processing graph since this call was last made or since the graph was last started.

func AUGraphGetNodeInfoSubGraph(AUGraph, AUNode, UnsafeMutablePointer<AUGraph?>) -> OSStatus

Gets the audio processing subgraph object represented by a node.

Deprecated
func AUGraphGetNodeInteractions(AUGraph, AUNode, UnsafeMutablePointer<UInt32>, UnsafeMutablePointer<AUNodeInteraction>) -> OSStatus

Retrieves information about the interactions in an audio processing graph for a given node.

func AUGraphGetNumberOfInteractions(AUGraph, UnsafeMutablePointer<UInt32>) -> OSStatus

Retrieves the number of interactions for an audio processing graph.

func AUGraphInitialize(AUGraph) -> OSStatus

Initializes an audio processing graph.

func AUGraphIsInitialized(AUGraph, UnsafeMutablePointer<DarwinBoolean>) -> OSStatus

Determines whether an audio processing graph is initialized.

func AUGraphIsNodeSubGraph(AUGraph, AUNode, UnsafeMutablePointer<DarwinBoolean>) -> OSStatus

Determines whether a node object represent an audio processing graph or an audio unit.

Deprecated
func AUGraphIsOpen(AUGraph, UnsafeMutablePointer<DarwinBoolean>) -> OSStatus

Determines whether an audio processing graph is open.

func AUGraphIsRunning(AUGraph, UnsafeMutablePointer<DarwinBoolean>) -> OSStatus

Determines whether an audio processing graph running.

func AUGraphNewNodeSubGraph(AUGraph, UnsafeMutablePointer<AUNode>) -> OSStatus

Creates a node object to represent a subgraph.

Deprecated
func AUGraphOpen(AUGraph) -> OSStatus

Opens an audio processing graph.

func AUGraphRemoveNode(AUGraph, AUNode) -> OSStatus

Removes a node from an audio processing graph.

func AUGraphStart(AUGraph) -> OSStatus

Starts an audio processing graph.

func AUGraphStop(AUGraph) -> OSStatus

Stops an audio processing graph.

func AUGraphUninitialize(AUGraph) -> OSStatus

Uninitializes an audio processing graph.

func AUGraphUpdate(AUGraph, UnsafeMutablePointer<DarwinBoolean>?) -> OSStatus

Updates the state of a running audio processing graph.

func DisposeAUGraph(AUGraph) -> OSStatus

Disposes of an audio processing graph.