X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fgstpitch.c;h=7a2acc49748456d809d15bc3f488c83359cc77c2;hb=7cc5114ad693e5500384993bd5e92910ba0c63b3;hp=2cce8d3fbdf593ca5d6962cda16b97ef524ab89a;hpb=0a3cadb2043ddd3b492be98649b22edd2306100e;p=tunertool diff --git a/src/gstpitch.c b/src/gstpitch.c index 2cce8d3..7a2acc4 100644 --- a/src/gstpitch.c +++ b/src/gstpitch.c @@ -30,7 +30,8 @@ GST_DEBUG_CATEGORY_STATIC (gst_pitch_debug); #define GST_CAT_DEFAULT gst_pitch_debug -#define RATE 8000 +#define RATE 32000 +#define RATESTR "32000" #define WANTED RATE * 2 /* Filter signals and args */ @@ -49,7 +50,7 @@ static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, GST_STATIC_CAPS ("audio/x-raw-int, " - "rate = (int) 8000, " + "rate = (int) " RATESTR ", " "channels = (int) 1, " "endianness = (int) BYTE_ORDER, " "width = (int) 16, " "depth = (int) 16, " "signed = (boolean) true")