Class

AVAudioSourceNode

A node that supplies audio data.

Declaration

class AVAudioSourceNode : AVAudioNode

Overview

Use an audio source node to supply audio data for rendering through an AVAudioSourceNodeRenderBlock block. This approach is similar to setting the input callback on an audio unit by using the kAudioUnitProperty_SetRenderCallback property.

Topics

Creating an Audio Source Node

init(renderBlock: AVAudioSourceNodeRenderBlock)

Creates an audio source node with a block that supplies audio data.

init(format: AVAudioFormat, renderBlock: AVAudioSourceNodeRenderBlock)

Creates an audio source node with the specified audio format and a block that supplies audio data.

typealias AVAudioSourceNodeRenderBlock

A block that supplies audio data to an audio source node.

Relationships

Inherits From