Our new developer documentation is now available. Please check it out!
MediaStream.AudioReadDataAsync
Warning
Version 1.1.0 is deprecated and will be removed in the future and is not being supported for new users. Please update to the latest version as soon as possible.
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 |