Our new developer documentation is now available. Please check it out!
MicrophoneStream.AudioReadDataTask
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 override Task<uint> AudioReadDataTask(float[] buffer, CancellationToken cancellationToken)
AudioReadData and AudioReadDataAsync are not supported!
Info
Microphone streams are always writeonly
Parameters
Name | Type | Description |
---|---|---|
buffer | Single[] | |
cancellationToken | CancellationToken |
Returns
Type | Description |
---|---|
Task<UInt32> | throws OdinWrapperException |