summaryrefslogtreecommitdiffstats
path: root/gst/filter/gstlpwsinc.h
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2007-08-10 04:32:47 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2007-08-10 04:32:47 +0000
commit982bf23b353cd825e249d8fc13420f88e9cf4cd4 (patch)
tree1f80f14cc60eefdeeee966041fe96fdfb8fcd1d4 /gst/filter/gstlpwsinc.h
parent882fd5c387f9f6fa51038e9517c7b0ad665e0b0e (diff)
downloadgst-plugins-bad-982bf23b353cd825e249d8fc13420f88e9cf4cd4.tar.gz
gst-plugins-bad-982bf23b353cd825e249d8fc13420f88e9cf4cd4.tar.bz2
gst-plugins-bad-982bf23b353cd825e249d8fc13420f88e9cf4cd4.zip
gst/filter/gstlpwsinc.*: Allow choosing between hamming and blackman window. The blackman window provides a better st...
Original commit message from CVS: * gst/filter/gstlpwsinc.c: (gst_lpwsinc_window_get_type), (gst_lpwsinc_class_init), (gst_lpwsinc_init), (lpwsinc_build_kernel), (lpwsinc_set_property), (lpwsinc_get_property): * gst/filter/gstlpwsinc.h: Allow choosing between hamming and blackman window. The blackman window provides a better stopband attenuation but a bit slower rolloff.
Diffstat (limited to 'gst/filter/gstlpwsinc.h')
-rw-r--r--gst/filter/gstlpwsinc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/filter/gstlpwsinc.h b/gst/filter/gstlpwsinc.h
index bc9377f6..d9838bd2 100644
--- a/gst/filter/gstlpwsinc.h
+++ b/gst/filter/gstlpwsinc.h
@@ -67,6 +67,7 @@ struct _GstLPWSinc {
GstLPWSincProcessFunc process;
gint mode;
+ gint window;
gdouble frequency;
gint wing_size; /* length of a "wing" of the filter;
actual length is 2 * wing_size + 1 */