summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--gst/festival/gstfestival.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f88ce6e2..13a1ed31 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-12-14 David Schleef <ds@schleef.org>
+
+ * gst/festival/gstfestival.c: (gst_festival_chain): Set the
+ output rate to 16000. Should fix #160235.
+
2004-12-14 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* gst/typefind/gsttypefindfunctions.c: (mpeg2_sys_type_find):
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 == '\\'))