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/branches/1.4@45106 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2006-10-13 21:06:09 +00:00
parent 8c09239585
commit cda9238a47

View File

@@ -159,6 +159,7 @@ void ast_speech_start(struct ast_speech *speech)
/* Clear any flags that may affect things */ /* Clear any flags that may affect things */
ast_clear_flag(speech, AST_SPEECH_SPOKE); 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 results are on the structure, free them since we are starting again */
if (speech->results != NULL) { if (speech->results != NULL) {