summaryrefslogtreecommitdiffstats
path: root/gst/audiofx/audiowsinclimit.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/audiowsinclimit.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/audiowsinclimit.h')
-rw-r--r--gst/audiofx/audiowsinclimit.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/audiofx/audiowsinclimit.h b/gst/audiofx/audiowsinclimit.h
index 58d5ec99..14791b51 100644
--- a/gst/audiofx/audiowsinclimit.h
+++ b/gst/audiofx/audiowsinclimit.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 _GstLPWSincClass GstLPWSincClass;
* Opaque data structure.
*/
struct _GstLPWSinc {
- GstBaseTransform element;
+ GstAudioFilter element;
void (*process)(GstLPWSinc*, gpointer, gint);
@@ -73,7 +73,7 @@ struct _GstLPWSinc {
};
struct _GstLPWSincClass {
- GstBaseTransformClass parent_class;
+ GstAudioFilterClass parent_class;
};
G_END_DECLS