MonoMac.AudioToolbox.AudioSource.Read Method
Callback invoked to read encoded audio data.

Syntax

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

Parameters

position
Position in the audio stream that the data should be read from.
requestCount
Number of bytes to read.
buffer
Pointer to the buffer where the data should be stored.
actualCount
On return, set this value to the number of bytes actually read.

Returns

true on success, false on failure.

Remarks

This method is called by the AudioSource when more data is requested.

Requirements

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