Developer Documentation

MicrophoneStream.AudioReadDataTask

public override Task<uint> AudioReadDataTask(float[] buffer, CancellationToken cancellationToken)

AudioReadData and AudioReadDataAsync are not supported!

Info

Microphone streams are always writeonly

Parameters

NameTypeDescription
bufferSingle[]
cancellationTokenCancellationToken

Returns

TypeDescription
Task<UInt32>throws OdinWrapperException