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. --- ChangeLog | 5 +++++ gst/festival/gstfestival.c | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index f88ce6e2..13a1ed31 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-12-14 David Schleef + + * gst/festival/gstfestival.c: (gst_festival_chain): Set the + output rate to 16000. Should fix #160235. + 2004-12-14 Zaheer Abbas Merali * 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 == '\\')) -- cgit v1.2.1