MonoMac.AudioToolbox.AudioSource.Write Method
Callback used to write audio data into the audio stream.

Syntax

public abstract bool Write (long position, int requestCount, IntPtr buffer, out int actualCount)

Parameters

position
Position where the data should be stored.
requestCount
Number of bytes to write.
buffer
Pointer to the buffer that contains the data to be written.
actualCount
Set this value to indicate the number of bytes actually written.

Returns

True on success, false on failure.

Remarks

This method is called by the AudioSource when it has encoded the data and it need to write it out.

Requirements

Namespace: MonoMac.AudioToolbox
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0