diff options
author | David Schleef <ds@schleef.org> | 2004-12-15 03:59:26 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2004-12-15 03:59:26 +0000 |
commit | b30b813a3595822288c1729a929002c71eda15d7 (patch) | |
tree | 94f4b62da7ebbb680eaad833c941cef6a93b274b /gst | |
parent | cf4b8997f9561d6ba2ecc4cc4437d3663c1de043 (diff) | |
download | gst-plugins-bad-b30b813a3595822288c1729a929002c71eda15d7.tar.gz gst-plugins-bad-b30b813a3595822288c1729a929002c71eda15d7.tar.bz2 gst-plugins-bad-b30b813a3595822288c1729a929002c71eda15d7.zip |
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.
Diffstat (limited to 'gst')
-rw-r--r-- | gst/festival/gstfestival.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 == '\\')) |