Instance Method

detach(_:)

Detaches an audio node previously attached to the audio engine.

Declaration

func detach(_ node: AVAudioNode)

Parameters

node

The audio node to be detached from the audio engine.

Discussion

If necessary, the audio engine will safely disconnect the audio node before detaching it.

See Also

Attaching and Detaching Audio Nodes

func attach(AVAudioNode)

Attaches a new audio node to the audio engine.