Instance Property


The audio engine’s singleton input audio node.


var inputNode: AVAudioInputNode { get }


The audio engine creates a singleton on demand when inputNode is first accessed. To receive input, connect another audio node from the output of the input audio node, or create a recording tap on it.

The AVAudioSesssion instance and/or the availability of hardware features determine whether an app can perform input. Check the input format of input node (specifically, the hardware format) for a non-zero sample rate and channel count to see if input is enabled.

See Also

Getting the Input, Output, and Main Mixer Nodes

var outputNode: AVAudioOutputNode

The audio engine’s singleton output audio node.

var mainMixerNode: AVAudioMixerNode

The audio engine’s optional singleton main mixer node.