SpeechRunState (SAPI 5.4)

Microsoft Speech API 5.4

SpeechRunState Enum

The SpeechRunState enumeration lists the running states of a TTS voice.

Used with ISpeechVoiceStatus.RunningState.

Definition

  Enum SpeechRunState
    SRSEDone = 1
    SRSEIsSpeaking = 2
End Enum

Elements

  • SRSEDone
    The voice has finished rendering all queued phrases.
  • SRSEIsSpeaking
    The SpVoice currently claims the audio queue.

Remarks

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.