Method Read
View SourceRead(Single[], Int32, Int32)
Reads data from the device to the provided buffer.
Declaration
public int Read(float[] buffer, int offset, int count)
Parameters
| Type | Name | Description |
|---|---|---|
| Single[] | buffer | The buffer. |
| Int32 | offset | The offset to the first value. |
| Int32 | count | The number of the values to read. |
Returns
| Type | Description |
|---|---|
| Int32 | The number of read values. |
Implements
CSCore.IReadableAudioSource<T>.Read(T[], System.Int32, System.Int32)