Add a flag to the speech API that allows an engine to set whether it received results or not.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@77831 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2007-07-31 16:17:09 +00:00
parent e03bec2c16
commit 35ceaca691
2 changed files with 5 additions and 3 deletions
+3 -2
View File
@@ -28,8 +28,9 @@ 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 */
#define AST_SPEECH_QUIET (1 << 0) /* Quiet down output... they are talking */
#define AST_SPEECH_SPOKE (1 << 1) /* Speaker did not speak */
#define AST_SPEECH_HAVE_RESULTS (1 << 2) /* Results are present */
/* Speech structure states - in order of expected change */
#define AST_SPEECH_STATE_NOT_READY 0 /* Not ready to accept audio */