Class

AVAudioIONode

The base class for nodes that connect to the system's audio input or output.

Declaration

@interface AVAudioIONode : AVAudioNode

Overview

When the engine is configured to render to and from an audio device, on macOS, AVAudioInputNode and AVAudioOutputNode communicate with the system's default input and output devices.

On iOS, they communicate with the devices appropriate to the app's AVAudioSession category, configurations, and user actions, such as connecting or disconnecting external devices.

In the manual rendering mode, AVAudioInputNode and AVAudioOutputNode perform the input and output in the engine, in response to the client's request.

Topics

Getting the Audio Unit

audioUnit

The node's underlying audio unit, if any.

Getting the IO Latency

presentationLatency

The presentation, or hardware, latency.

Instance Properties

Relationships

Inherits From

See Also

Source Node Types

AVAudioInputNode

A node that connects to the system's audio input.

AVAudioIONodeInputBlock

A block to get input data when called by a render operation in the manual rendering mode.

AVAudioNodeCompletionHandler

A general callback handler.

AVAudioPlayerNodeCompletionHandler

The callback handler for buffer or file completion.

AVAudioPlayerNode

A class that plays buffers or segments of audio files.

AVAudioUnitGenerator

An audio unit subclass that generates audio output.

AVAudioUnitMIDIInstrument

An abstract class representing music devices or remote instruments.

AVAudioUnitSampler

A class that encapsulates Apple's Sampler Audio Unit.

AVAudioSequencer

A collection of MIDI events organized into multiple music tracks, plus a player to play back the events.