[Freeswitch-svn] [commit] r5891 - freeswitch/trunk/src/mod/asr_tts/mod_openmrcp

Freeswitch SVN anthm at freeswitch.org
Tue Oct 16 11:33:21 EDT 2007


Author: anthm
Date: Tue Oct 16 11:33:21 2007
New Revision: 5891

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

Log:
add pause to speech in openmrcp

Modified: freeswitch/trunk/src/mod/asr_tts/mod_openmrcp/mod_openmrcp.c
==============================================================================
--- freeswitch/trunk/src/mod/asr_tts/mod_openmrcp/mod_openmrcp.c	(original)
+++ freeswitch/trunk/src/mod/asr_tts/mod_openmrcp/mod_openmrcp.c	Tue Oct 16 11:33:21 2007
@@ -531,17 +531,17 @@
 		"<?xml version=\"1.0\"?>\r\n"
 		"<speak>\r\n"
 		"<paragraph>\r\n"
-		"    <sentence>";
+		"    <sentence><break time=\"1000ms\"/>";
 
-	const char v2_xml_tail[] = "</sentence>\r\n"
+	const char v2_xml_tail[] = "<break time=\"1000ms\"/></sentence>\r\n"
 		"</paragraph>\r\n"
 		"</speak>\r\n";
 
     const char v1_xml_head[] = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
-        "<speak version=\"1.0\" xmlns=\"http://www.w3.org/2001/10/synthesis\">\n";
+        "<speak version=\"1.0\" xmlns=\"http://www.w3.org/2001/10/synthesis\">\n<break time=\"1000ms\"/>";
 
 
-    const char v1_xml_tail[] = "\n</speak>\n";
+    const char v1_xml_tail[] = "<break time=\"1000ms\"/>\n</speak>\n";
 
 	const char *xml_head, *xml_tail;
 



More information about the Freeswitch-svn mailing list