Beispiel #1
0
 /// <summary>
 /// Empty the queue of things waiting to say.
 /// </summary>
 internal void Flush()
 {
     lock (queue)
     {
         control.sound.Stop(); // Abort any playing speech.
         syn.Stop();
         queue.Clear();        // Remove any pending speech.
     }
 }