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:
ff63bcc
)
speech-recognition: make sure we always save the full audio buffer.
author
Krisztian Litkey
<krisztian.litkey@intel.com>
Thu, 6 Jun 2013 13:41:47 +0000
(16:41 +0300)
committer
Krisztian Litkey
<krisztian.litkey@intel.com>
Thu, 6 Jun 2013 13:55:47 +0000
(16:55 +0300)
src/daemon/recognizer.c
patch
|
blob
|
history
diff --git
a/src/daemon/recognizer.c
b/src/daemon/recognizer.c
index
60aa6e8
..
921c548
100644
(file)
--- a/
src/daemon/recognizer.c
+++ b/
src/daemon/recognizer.c
@@
-421,8
+421,8
@@
static int srec_notify_cb(srs_srec_utterance_t *utt, void *notify_data)
mrp_list_init(&res->result.matches);
c = utt->cands[0];
- start =
c->tokens[0].start
;
- end =
c->tokens[c->ntoken-1].end
;
+ start =
0
;
+ end =
utt->length
;
res->samplebuf = srec->api.sampledup(start, end, &res->samplelen,
srec->api_data);