Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
Browser.SetInputToDefaultAudioDevice Method
Assigns the system default audio input device as the input to the speech recognition engine.
Namespace: Microsoft.Speech.VoiceXml
Assembly: Microsoft.Speech.VoiceXml (in Microsoft.Speech.VoiceXml.dll)
Syntax
'Declaration
Protected Sub SetInputToDefaultAudioDevice
'Usage
Me.SetInputToDefaultAudioDevice()
protected void SetInputToDefaultAudioDevice()
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when the SetInputToDefaultAudioDevice() method is called on a Browser instance that is running. |