From b30b813a3595822288c1729a929002c71eda15d7 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Wed, 15 Dec 2004 03:59:26 +0000 Subject: gst/festival/gstfestival.c: Set the output rate to 16000. Should fix #160235. Original commit message from CVS: * gst/festival/gstfestival.c: (gst_festival_chain): Set the output rate to 16000. Should fix #160235. --- gst/festival/gstfestival.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gst/festival') diff --git a/gst/festival/gstfestival.c b/gst/festival/gstfestival.c index bceaa3da..0aefe233 100644 --- a/gst/festival/gstfestival.c +++ b/gst/festival/gstfestival.c @@ -226,6 +226,7 @@ gst_festival_chain (GstPad * pad, GstData * _data) size = GST_BUFFER_SIZE (buf); /* Copy text over to server, escaping any quotes */ + fprintf (fd, "(Parameter.set 'Audio_Required_Rate 16000)\n"); fprintf (fd, "(tts_textall \"\n"); for (p = GST_BUFFER_DATA (buf); p && (*p != '\0') && size; p++, size--) { if ((*p == '"') || (*p == '\\')) -- cgit v1.2.1