summaryrefslogtreecommitdiff
path: root/apps/app_speech_utils.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2007-02-21 20:05:15 +0000
committerJoshua Colp <jcolp@digium.com>2007-02-21 20:05:15 +0000
commit5030e056322b3c689d74832e4185a6aa0e6c58e6 (patch)
tree7fd49352a8a0075e0e9ab470c359684bf2495f60 /apps/app_speech_utils.c
parent93671917f98bf01eefc59174ded465a0532ed6ec (diff)
Merged revisions 55947 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r55947 | file | 2007-02-21 15:03:38 -0500 (Wed, 21 Feb 2007) | 2 lines Only start playing the next file if we have not been quieted. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55948 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_speech_utils.c')
-rw-r--r--apps/app_speech_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_speech_utils.c b/apps/app_speech_utils.c
index d7efd564b..a2c53a550 100644
--- a/apps/app_speech_utils.c
+++ b/apps/app_speech_utils.c
@@ -560,7 +560,7 @@ static int speech_background(struct ast_channel *chan, void *data)
/* Okay it's streaming so go into a loop grabbing frames! */
while (done == 0) {
/* If the filename is null and stream is not running, start up a new sound file */
- if ((chan->streamid == -1 && chan->timingfunc == NULL) && (filename = strsep(&filename_tmp, "&"))) {
+ if (!quieted && (chan->streamid == -1 && chan->timingfunc == NULL) && (filename = strsep(&filename_tmp, "&"))) {
/* Discard old stream information */
ast_stopstream(chan);
/* Start new stream */