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