SpeechSynthesizer..::..SetOutputToDefaultAudioDevice Method |
SpeechSynthesizer Class See Also Send Feedback |
Configures the SpeechSynthesizer object to send output to the default audio device for the system.
Namespace:
Microsoft.Speech.Synthesis
Assembly:
Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub SetOutputToDefaultAudioDevice |
Visual Basic (Usage) |
---|
Dim instance As SpeechSynthesizer instance.SetOutputToDefaultAudioDevice() |
C# |
---|
public void SetOutputToDefaultAudioDevice() |
Remarks
For other output configuration options, see the SetOutputToAudioStream, SetOutputToNull, SetOutputToWaveFile, and SetOutputToWaveStream methods.