Instance Property

mainMixerNode

The audio engine’s optional singleton main mixer node.

Declaration

@property(readonly, nonatomic) AVAudioMixerNode *mainMixerNode;

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

inputNode

The audio engine’s singleton input audio node.

outputNode

The audio engine’s singleton output audio node.