Share via


AVAudioSourceNodeRenderHandler3 Delegate

Definition

The delegate that will be called in a callback from AVAudioSourceNode.

public delegate int AVAudioSourceNodeRenderHandler3(ref bool isSilence, ref AudioTimeStamp timestamp, uint frameCount, AudioBuffers outputData);
type AVAudioSourceNodeRenderHandler3 = delegate of bool * AudioTimeStamp * uint32 * AudioBuffers -> int

Parameters

isSilence
Boolean

Indicates whether the supplied audio data only contains silence.

timestamp
AudioTimeStamp

The timestamp the audio renders (HAL time).

frameCount
UInt32

The number of frames of audio to supply.

outputData
AudioBuffers

The AudioBuffers that contains the supplied audio data when the callback returns.

Return Value

An OSStatus result code. Return 0 to indicate success.

Applies to