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


class AVAudioInputNode : AVAudioIONode


This node has one element. The format of the input scope reflects the audio hardware sample rate and channel count. The format of the output scope is initially the same as that of the input, but you may set it to a different format, which will convert the node. For more information, see AVAudioIONode.


Manually Giving Data to an Audio Engine

func setManualRenderingInputPCMFormat(AVAudioFormat, inputBlock: AVAudioIONodeInputBlock) -> Bool

Supplies the data through the input node to the engine while operating in the manual rendering mode.


Inherits From

See Also

Source Node Types

class AVAudioIONode

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

typealias AVAudioIONodeInputBlock

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

typealias AVAudioNodeCompletionHandler

A general callback handler.

typealias AVAudioPlayerNodeCompletionHandler

The callback handler for buffer or file completion.

class AVAudioPlayerNode

A class that plays buffers or segments of audio files.

class AVAudioUnitGenerator

An audio unit subclass that generates audio output.

class AVAudioUnitMIDIInstrument

An abstract class representing music devices or remote instruments.

class AVAudioUnitSampler

A class that encapsulates Apple's Sampler Audio Unit.

class AVAudioSequencer

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