AVAudioSourceNodeRenderHandlerRaw 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 AVAudioSourceNodeRenderHandlerRaw(IntPtr isSilence, IntPtr timestamp, uint frameCount, IntPtr outputData);
type AVAudioSourceNodeRenderHandlerRaw = delegate of nativeint * nativeint * uint32 * nativeint -> int
Parameters
- isSilence
-
IntPtr
nativeint
Indicates whether the supplied audio data only contains silence. This is a pointer to a Byte value.
- timestamp
-
IntPtr
nativeint
The timestamp the audio renders (HAL time). This is a pointer to an AudioTimeStamp value.
- frameCount
- UInt32
The number of frames of audio to supply.
- outputData
-
IntPtr
nativeint
The AudioBuffers that contains the supplied audio data when the callback returns. This is a handle for an AudioBuffers value.
Return Value
An OSStatus result code. Return 0 to indicate success.