projects
/
profile
/
ivi
/
speech-recognition.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4918bb5
)
speech-recognition: make sure we flush the full buffer in case we want to give up.
author
Krisztian Litkey
<krisztian.litkey@intel.com>
Thu, 6 Jun 2013 13:43:57 +0000
(16:43 +0300)
committer
Krisztian Litkey
<krisztian.litkey@intel.com>
Thu, 6 Jun 2013 13:57:53 +0000
(16:57 +0300)
src/daemon/recognizer.c
patch
|
blob
|
history
diff --git
a/src/daemon/recognizer.c
b/src/daemon/recognizer.c
index
1ea8df9
..
e1fe54e
100644
(file)
--- a/
src/daemon/recognizer.c
+++ b/
src/daemon/recognizer.c
@@
-407,7
+407,8
@@
static int srec_notify_cb(srs_srec_utterance_t *utt, void *notify_data)
}
}
- dis = find_disamb(srec->srs, SRS_DEFAULT_DISAMBIGUATOR);
+ flush = SRS_SREC_FLUSH_ALL;
+ dis = find_disamb(srec->srs, SRS_DEFAULT_DISAMBIGUATOR);
if (dis != NULL) {
if (srec->result == NULL) {