Function

AUGraphNodeInfo(_:_:_:_:)

Returns information about a node object.

Declaration

func AUGraphNodeInfo(_ inGraph: AUGraph, _ inNode: AUNode, _ outDescription: UnsafeMutablePointer<AudioComponentDescription>?, _ outAudioUnit: UnsafeMutablePointer<AudioUnit?>?) -> OSStatus

Parameters

inGraph

The AUGraph object.

inNode

The node to query.

outDescription

The component description that would describe the AudioUnit of this node.

outAudioUnit

the AudioUnit of this node

Return Value

A result code.

Discussion

You can pass NULL for any output parameter whose value you don’t care about.

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 AUGraphConnectNodeInput(AUGraph, AUNode, UInt32, AUNode, UInt32) -> OSStatus

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

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.