SpeechAudioState (SAPI 5.3)
Speech API 5.3
The SpeechAudioState enumeration lists the four possible audio input and output states.
Enum SpeechAudioState SASClosed = 0 SASStop = 1 SASPause = 2 SASRun = 3 End Enum
- Audio is stopped and closed. For multimedia audio input devices (sound cards etc.), the device will be released. It can be opened by other processes and potentially made unavailable to SAPI.
- Audio is stopped. For multimedia audio input devices (sound cards etc.), the audio device will not be closed. This guarantees that SAPI can restart it without an intervening process opening it.
- Audio is paused. Staying in this state for too long a period will cause audio loss.
- Audio is enabled.