[Freeswitch-svn] [commit] r4475 - freeswitch/trunk/src/mod/asr_tts/mod_cepstral

Freeswitch SVN anthm at freeswitch.org
Wed Mar 7 19:04:05 EST 2007


Author: anthm
Date: Wed Mar  7 19:04:04 2007
New Revision: 4475

Modified:
   freeswitch/trunk/src/mod/asr_tts/mod_cepstral/mod_cepstral.c

Log:
earier patch to hide warning in cepstral does more bad than good so I guess the error is better

Modified: freeswitch/trunk/src/mod/asr_tts/mod_cepstral/mod_cepstral.c
==============================================================================
--- freeswitch/trunk/src/mod/asr_tts/mod_cepstral/mod_cepstral.c	(original)
+++ freeswitch/trunk/src/mod/asr_tts/mod_cepstral/mod_cepstral.c	Wed Mar  7 19:04:04 2007
@@ -223,7 +223,7 @@
 			return SWITCH_STATUS_FALSE;
 		}
 
-        if ((to_say = switch_mprintf(".<break time=\"500ms\"/> %s <break time=\"500ms\"/>", text))) {
+        if ((to_say = switch_mprintf("<break time=\"500ms\"/> %s <break time=\"500ms\"/>", text))) {
             swift_port_speak_text(cepstral->port, to_say, 0, NULL, &cepstral->tts_stream, NULL); 
             switch_safe_free(to_say);
         }



More information about the Freeswitch-svn mailing list