Instance Property

mainMixerNode

The audio engine’s optional singleton main mixer node.

Declaration

var mainMixerNode: AVAudioMixerNode { get }

Discussion

When the property is first accessed the audio engine constructs a singleton main mixer and connects it to the outputNode on demand. You can then connect additional audio nodes to the mixer.

By default, the mixer's output format (sample rate and channel count) will track the format of the output node. It is possible to make the connection explicitly with a different format.

See Also

Getting the Input, Output, and Main Mixer Nodes

var inputNode: AVAudioInputNode

The audio engine’s singleton input audio node.

var outputNode: AVAudioOutputNode

The audio engine’s singleton output audio node.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software