AVAudioSourceNodeRenderHandler3 Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.