Our new developer documentation is now available. Please check it out!
MediaStream.AudioReadDataAsync
public virtual async Task<uint> AudioReadDataAsync(float[] buffer)
Read audio data using a custom custom CancellationSource.
Parameters
Name | Type | Description |
---|---|---|
buffer | Single[] | buffer to write into |
Returns
Type | Description |
---|---|
Task<UInt32> | count of written bytes into buffer |