Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SpeechAudioState (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

SpeechAudioState Enum

The SpeechAudioState enumeration lists the four possible audio input and output states.

This is used by ISpeechAudioStatus.State property and ISpeechAudio.SetState method.


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.
© 2015 Microsoft