Merged revisions 45106 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Fri, 13 Oct 2006 21:07:06 +0000 (21:07 +0000)
committerJoshua Colp <jcolp@digium.com>
Fri, 13 Oct 2006 21:07:06 +0000 (21:07 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r45106 | file | 2006-10-13 17:06:09 -0400 (Fri, 13 Oct 2006) | 2 lines

Clear the quiet flag too since we are restarting a recognition again (reported on -dev by Stephan Edelman)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45107 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_speech.c

index 8330333..f06638a 100644 (file)
@@ -159,6 +159,7 @@ void ast_speech_start(struct ast_speech *speech)
 
        /* Clear any flags that may affect things */
        ast_clear_flag(speech, AST_SPEECH_SPOKE);
+       ast_clear_flag(speech, AST_SPEECH_QUIET);
 
        /* If results are on the structure, free them since we are starting again */
        if (speech->results != NULL) {