Instance Method

disconnectNodeInput(_:bus:)

Removes the input connection of an audio node on the specified bus.

Declaration

func disconnectNodeInput(_ node: AVAudioNode, bus: AVAudioNodeBus)

Parameters

node

The audio node whose input is to be disconnected.

bus

The destination’s input bus to be disconnected.

See Also

Connecting and Disconnecting Audio Nodes

func connect(AVAudioNode, to: AVAudioNode, format: AVAudioFormat?)

Establishes a connection between two audio nodes.

func connect(AVAudioNode, to: AVAudioNode, fromBus: AVAudioNodeBus, toBus: AVAudioNodeBus, format: AVAudioFormat?)

Establish a connection between two audio nodes, specifying the input and output busses.

func disconnectNodeInput(AVAudioNode)

Removes all input connections of the audio node.

func disconnectNodeOutput(AVAudioNode)

Remove all output connections of an audio node.

func disconnectNodeOutput(AVAudioNode, bus: AVAudioNodeBus)

Remove the output connection of an audio node on the specified bus.