STSSEngineState Constants Reference
| Declared in | STMediaParams_doc.h |
STSSEngineState
This enumerator defines the real-time Speech Synthesizer (SS) Engine State(SSES). An application accesses the audio synthesizer via STMediaRunner module interface. During speech synthesis and when the speech synthesizer changes state, events describing its changed state are posted asynchronously and in real-time to the main thread of a registered client or application.
Definition
enum STSSEngineState {
case SSES_NOT_VALID,
SSES_IDLE,
SSES_STARTING,
SSES_ACTIVE,
SSES_STOPPING
}
Constants
case SSES_NOT_VALID-
Speech synthesizer state is not valid. This is the initial state of the speech synthesizer before it’s initialized.
Declared In
STMediaParams_doc.h. case SSES_IDLE-
Speech synthesizer state is idle. The Audio Player state must be APS_IDLE in order for a request to read audio from a speech synthesis source to be accepted.
Declared In
STMediaParams_doc.h. case SSES_STARTING-
Speech synthesizer state is starting. Speech synthesizer has accepted a request to synyhesize text and to be an audio source for the Audio Player.
Declared In
STMediaParams_doc.h. case SSES_ACTIVE-
Speech synthesizer state is active. Speech synthesizer is synthesizing text and acting as the audio source for the Audio Player.
Declared In
STMediaParams_doc.h. case SSES_STOPPING-
Speech synthesizer state is stopping. Speech synthesizer transitions to this state after receiving a request to stop speech synthesis. Speech synthesizer state then transitions from SSES_STOPPING to SSES_IDLE.
Declared In
STMediaParams_doc.h.
Declared In
STMediaParams_doc.h