enum classafFancomSapi::SpeechAudioState
sys::Obj sys::Enum afFancomSapi::SpeechAudioState
@
Serializable { simple=true }
Lists the four possible audio input and output states.
http://msdn.microsoft.com/en-us/library/ee125190%28v=vs.85%29.aspx
- SASClosed
const static SpeechAudioState SASClosed := ...
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.
Value is 0 (0x0)
- SASPause
const static SpeechAudioState SASPause := ...
Audio is paused. Staying in this state for too long a period will cause audio loss.
Value is 2 (0x2)
- SASRun
const static SpeechAudioState SASRun := ...
Audio is enabled.
Value is 3 (0x3)
- SASStop
const static SpeechAudioState SASStop := ...
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.
Value is 1 (0x1)
- fromStr
static new fromStr(Str name, Bool checked := true)
Return the SpeechAudioState instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.
- vals
const static SpeechAudioState[] vals := ...
List of SpeechAudioState values indexed by ordinal