[svn-commits] file: branch 1.4 r55947 - /branches/1.4/apps/app_speech_utils.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Wed Feb 21 13:03:39 MST 2007


Author: file
Date: Wed Feb 21 14:03:38 2007
New Revision: 55947

URL: http://svn.digium.com/view/asterisk?view=rev&rev=55947
Log:
Only start playing the next file if we have not been quieted.

Modified:
    branches/1.4/apps/app_speech_utils.c

Modified: branches/1.4/apps/app_speech_utils.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_speech_utils.c?view=diff&rev=55947&r1=55946&r2=55947
==============================================================================
--- branches/1.4/apps/app_speech_utils.c (original)
+++ branches/1.4/apps/app_speech_utils.c Wed Feb 21 14:03:38 2007
@@ -560,7 +560,7 @@
         /* 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 */



More information about the svn-commits mailing list