Contents

AVAudioSourceNodeRenderBlock

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

Declaration

typealias AVAudioSourceNodeRenderBlock = (UnsafeMutablePointer<ObjCBool>, UnsafePointer<AudioTimeStamp>, AVAudioFrameCount, UnsafeMutablePointer<AudioBufferList>) -> OSStatus

Parameters

  • isSilence:

    The Boolean value that indicates whether the buffer contains only silence.

  • timestamp:

    The HAL time the audio data renders.

  • frameCount:

    The number of sample frames of audio data the engine requests.

  • outputData:

    The output data.

Return Value

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

See Also

Creating an Audio Source Node