Contents

AVAudioSinkNodeReceiverBlock

A block that receives audio data from an audio sink node.

Declaration

typealias AVAudioSinkNodeReceiverBlock = (UnsafePointer<AudioTimeStamp>, AVAudioFrameCount, UnsafePointer<AudioBufferList>) -> OSStatus

Parameters

  • timestamp:

    The time the input data renders.

  • frameCount:

    The number of sample frames of input the engine provides.

  • inputData:

    The input audio data.

Return Value

An OSStatus result code. When an error occurs, consider the audio data invalid.

See Also

Creating an Audio Sink Node