summaryrefslogtreecommitdiffstats
path: root/gst/audiofx/audiowsincband.h
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2007-08-08 20:47:33 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2007-08-08 20:47:33 +0000
commitbe2cd1e919950ea2101030e71beeca26bd173e1e (patch)
tree0ef71be69bd570b48a06322dbccf0aefc9e914eb /gst/audiofx/audiowsincband.h
parentcf57faff63479cbd472ff0d55f32a5194743b7e5 (diff)
gst/filter/: Use GstAudioFilter as base class and don't leak the memory of the filter kernel and residue.
Original commit message from CVS: * gst/filter/Makefile.am: * gst/filter/gstbpwsinc.c: (gst_bpwsinc_dispose), (gst_bpwsinc_base_init), (gst_bpwsinc_class_init), (gst_bpwsinc_init), (bpwsinc_setup): * gst/filter/gstbpwsinc.h: * gst/filter/gstlpwsinc.c: (gst_lpwsinc_dispose), (gst_lpwsinc_base_init), (gst_lpwsinc_class_init), (gst_lpwsinc_init), (lpwsinc_setup): * gst/filter/gstlpwsinc.h: Use GstAudioFilter as base class and don't leak the memory of the filter kernel and residue.
Diffstat (limited to 'gst/audiofx/audiowsincband.h')
-rw-r--r--gst/audiofx/audiowsincband.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/audiofx/audiowsincband.h b/gst/audiofx/audiowsincband.h
index 1d825dec..af5938d5 100644
--- a/gst/audiofx/audiowsincband.h
+++ b/gst/audiofx/audiowsincband.h
@@ -36,7 +36,7 @@
#include "gstfilter.h"
#include <gst/gst.h>
-#include <gst/base/gstbasetransform.h>
+#include <gst/audio/gstaudiofilter.h>
G_BEGIN_DECLS
@@ -60,7 +60,7 @@ typedef struct _GstBPWSincClass GstBPWSincClass;
* Opaque data structure.
*/
struct _GstBPWSinc {
- GstBaseTransform element;
+ GstAudioFilter element;
double frequency;
double lower_frequency, upper_frequency;
@@ -72,7 +72,7 @@ struct _GstBPWSinc {
};
struct _GstBPWSincClass {
- GstBaseTransformClass parent_class;
+ GstAudioFilterClass parent_class;
};
G_END_DECLS