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.
This commit is contained in:
David Schleef 2004-12-15 03:59:26 +00:00
parent cf4b8997f9
commit b30b813a35
2 changed files with 6 additions and 0 deletions

View file

@ -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):

View file

@ -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 == '\\'))