MediaStream.AudioReadDataTask
public virtual Task<uint> AudioReadDataTask(float[] buffer, CancellationToken cancellationToken)
Reads data from the audio stream.
Parameters
Name | Type | Description |
---|---|---|
buffer | Single[] | buffer to write into |
cancellationToken | CancellationToken |
Returns
Type | Description |
---|---|
Task<UInt32> | count of written bytes into buffer |