[asterisk-commits] file: trunk r55948 - in /trunk: ./ apps/app_speech_utils.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Feb 21 13:05:16 MST 2007


Author: file
Date: Wed Feb 21 14:05:15 2007
New Revision: 55948

URL: http://svn.digium.com/view/asterisk?view=rev&rev=55948
Log:
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.

........

Modified:
    trunk/   (props changed)
    trunk/apps/app_speech_utils.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/apps/app_speech_utils.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_speech_utils.c?view=diff&rev=55948&r1=55947&r2=55948
==============================================================================
--- trunk/apps/app_speech_utils.c (original)
+++ trunk/apps/app_speech_utils.c Wed Feb 21 14:05:15 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 asterisk-commits mailing list