mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-03 03:02:15 +00:00
Major res_speech cleanup. It looks much better now!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60363 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -28,14 +28,18 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
/* Speech structure flags */
|
||||
#define AST_SPEECH_QUIET (1 << 0) /* Quiet down output... they are talking */
|
||||
#define AST_SPEECH_SPOKE (1 << 1) /* Speaker did not speak */
|
||||
enum ast_speech_flags {
|
||||
AST_SPEECH_QUIET = (1 << 0), /* Quiet down output... they are talking */
|
||||
AST_SPEECH_SPOKE = (1 << 1), /* Speaker spoke! */
|
||||
};
|
||||
|
||||
/* Speech structure states - in order of expected change */
|
||||
#define AST_SPEECH_STATE_NOT_READY 0 /* Not ready to accept audio */
|
||||
#define AST_SPEECH_STATE_READY 1 /* Accepting audio */
|
||||
#define AST_SPEECH_STATE_WAIT 2 /* Wait for results to become available */
|
||||
#define AST_SPEECH_STATE_DONE 3 /* Processing is done */
|
||||
enum ast_speech_states {
|
||||
AST_SPEECH_STATE_NOT_READY = 0, /* Not ready to accept audio */
|
||||
AST_SPEECH_STATE_READY, /* Accepting audio */
|
||||
AST_SPEECH_STATE_WAIT, /* Wait for results to become available */
|
||||
AST_SPEECH_STATE_DONE, /* Processing is all done */
|
||||
};
|
||||
|
||||
enum ast_speech_results_type {
|
||||
AST_SPEECH_RESULTS_TYPE_NORMAL = 0,
|
||||
|
Reference in New Issue
Block a user