From f2b50b7bd2c02ce0764a9537ca210bff97ad1084 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 10 Aug 2007 05:35:25 +0000 Subject: gst/filter/gstbpwsinc.*: Add support for a bandreject mode and allow specifying the window function that should be used. Original commit message from CVS: * gst/filter/gstbpwsinc.c: (gst_bpwsinc_mode_get_type), (gst_bpwsinc_window_get_type), (gst_bpwsinc_class_init), (gst_bpwsinc_init), (bpwsinc_build_kernel), (bpwsinc_set_property), (bpwsinc_get_property): * gst/filter/gstbpwsinc.h: Add support for a bandreject mode and allow specifying the window function that should be used. * gst/filter/gstlpwsinc.c: And another small formatting fix. --- gst/filter/gstbpwsinc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gst/filter/gstbpwsinc.h') diff --git a/gst/filter/gstbpwsinc.h b/gst/filter/gstbpwsinc.h index 3bbb3e01..537c2f6d 100644 --- a/gst/filter/gstbpwsinc.h +++ b/gst/filter/gstbpwsinc.h @@ -62,7 +62,8 @@ struct _GstBPWSinc { GstBPWSincProcessFunc process; - gdouble frequency; + gint mode; + gint window; gdouble lower_frequency, upper_frequency; gint kernel_length; /* length of the filter kernel */ -- cgit v1.2.1