Edit

Share via


SpeechSynthesisConnector.Start Method

Definition

Prepares the connector to accept input from the SpeechSynthesizer and transmit it to the AudioVideoFlow.

public:
 void Start();
public void Start ();
member this.Start : unit -> unit
Public Sub Start ()

Exceptions

Thrown when the SpeechSynthesisConnector is already started.

Examples

The following example starts the SpeechSynthesizerConnector.

C# Starting a SpeechSynthesizerConnector.


// connector needs to be set to Microsoft.Speech.SpeechSpeechSynthesizer

speechSynthesisConnector.AttachFlow(audioVideoFlow);
speechSynthesisConnector.Start();



speechSynthesisConnector.Stop();



Applies to