BZSSEngineState Constants Reference
Declared in | BZMediaParams.h |
BZSSEngineState
This constant enumerator defines the real-time Speech Synthesizer (SS) Engine State(SSES). An application accesses the audio synthesizer via BZMediaController 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
typedef NS_ENUM(NSInteger, BZSSEngineState ) {
SSES_NOT_VALID = -1,
SSES_IDLE = 0,
SSES_STARTING = 1,
SSES_ACTIVE = 2,
SSES_STOPPING = 3,
};
Constants
SSES_NOT_VALID
-
Speech synthesizer state is not valid. This is the initial state of the speech synthesizer before it’s initialized.
Declared In
BZMediaParams.h
. SSES_IDLE
-
Speech synthesizer state is idle. The Audio Player state must be APS_IDLE in order to for a request to play audio from a speech synthesis source to be accepted.
Declared In
BZMediaParams.h
. SSES_STARTING
-
Speech synthesizer state is starting. Speech synthesizer has accepted a request to synyhesize text and be an audio source for the Audio Player.
Declared In
BZMediaParams.h
. SSES_ACTIVE
-
Speech synthesizer state is active. Speech synthesizer is synthesizing text and acting as the audio source to the Audio Player.
Declared In
BZMediaParams.h
. 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
BZMediaParams.h
.
Declared In
BZMediaParams.h