public override void StartNarration(string textInfo) { txtToSpeech = new TextToSpeech(new Ozeki.VoIP.Media.AudioFormat(8000, 1, 16, 20)); txtToSpeech.Stopped += new EventHandler <EventArgs>(txtToSpeech_Stopped); OnNarrationStarting(); txtToSpeech.AddText(textInfo); txtToSpeech.StartStreaming(); }
public override void StartNarration(string textInfo) { txtToSpeech = new TextToSpeech(new Ozeki.VoIP.Media.AudioFormat(8000, 1, 16, 20)); txtToSpeech.Stopped += new EventHandler<EventArgs>(txtToSpeech_Stopped); OnNarrationStarting(); txtToSpeech.AddText(textInfo); txtToSpeech.StartStreaming(); }
public override void RestartNarration(string textInfo) { txtToSpeech.AddText(textInfo); txtToSpeech.StartStreaming(); }