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:
1914f78
)
voice: activate next request is the active one is cancelled.
author
Krisztian Litkey
<krisztian.litkey@intel.com>
Tue, 11 Mar 2014 12:54:11 +0000
(14:54 +0200)
committer
Krisztian Litkey
<krisztian.litkey@intel.com>
Tue, 11 Mar 2014 12:54:11 +0000
(14:54 +0200)
src/daemon/voice.c
patch
|
blob
|
history
diff --git
a/src/daemon/voice.c
b/src/daemon/voice.c
index
b26e270
..
5622500
100644
(file)
--- a/
src/daemon/voice.c
+++ b/
src/daemon/voice.c
@@
-830,6
+830,11
@@
void srs_cancel_voice(srs_context_t *srs, uint32_t rid, int notify)
mrp_list_delete(&req->hook);
mrp_free(req);
+
+ if (state->active == req) {
+ state->active = NULL;
+ activate_next(state);
+ }
}