SpeechRunState (SAPI 5.3)
The SpeechRunState enumeration lists the running states of a TTS voice.
Used with ISpeechVoiceStatus.RunningState.
Enum SpeechRunState SRSEDone = 1 SRSEIsSpeaking = 2 End Enum
- The voice has finished rendering all queued phrases.
- The SpVoice currently claims the audio queue.
A SpeechRunState value of zero represents a state in which the voice is waiting to speak. This condition is returned by ISpeechVoiceStatus.RunningState before the voice has begun speaking, and when the voice is interrupted by an alert voice.