summaryrefslogtreecommitdiffstats
path: root/gst/equalizer
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2007-11-21 08:21:10 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2007-11-21 08:21:10 +0000
commit27ddb0303d113adbf46e6b789cea92c882ef6a4a (patch)
tree842fa6f204f213aac187a99a14a2b7c836a5d711 /gst/equalizer
parent120f25ff03741a2d60ad9556da33663f3b7de659 (diff)
downloadgst-plugins-bad-27ddb0303d113adbf46e6b789cea92c882ef6a4a.tar.gz
gst-plugins-bad-27ddb0303d113adbf46e6b789cea92c882ef6a4a.tar.bz2
gst-plugins-bad-27ddb0303d113adbf46e6b789cea92c882ef6a4a.zip
gst/equalizer/: Remove preset iface again. We'll re-add this after its been released in -good.
Original commit message from CVS: * gst/equalizer/gstiirequalizer10bands.c: * gst/equalizer/gstiirequalizer3bands.c: Remove preset iface again. We'll re-add this after its been released in -good.
Diffstat (limited to 'gst/equalizer')
-rw-r--r--gst/equalizer/gstiirequalizer10bands.c13
-rw-r--r--gst/equalizer/gstiirequalizer3bands.c13
2 files changed, 4 insertions, 22 deletions
diff --git a/gst/equalizer/gstiirequalizer10bands.c b/gst/equalizer/gstiirequalizer10bands.c
index 7741e79a..e951077d 100644
--- a/gst/equalizer/gstiirequalizer10bands.c
+++ b/gst/equalizer/gstiirequalizer10bands.c
@@ -66,17 +66,8 @@ static void gst_iir_equalizer_10bands_get_property (GObject * object,
GST_DEBUG_CATEGORY_EXTERN (equalizer_debug);
#define GST_CAT_DEFAULT equalizer_debug
-#define _do_init(bla) { \
- const GInterfaceInfo preset_interface_info = { \
- NULL, /* interface_init */ \
- NULL, /* interface_finalize */ \
- NULL /* interface_data */ \
- }; \
- g_type_add_interface_static(object_type, GST_TYPE_PRESET, &preset_interface_info); \
- }
-
-GST_BOILERPLATE_FULL (GstIirEqualizer10Bands, gst_iir_equalizer_10bands,
- GstIirEqualizer, GST_TYPE_IIR_EQUALIZER, _do_init);
+GST_BOILERPLATE (GstIirEqualizer10Bands, gst_iir_equalizer_10bands,
+ GstIirEqualizer, GST_TYPE_IIR_EQUALIZER);
/* equalizer implementation */
diff --git a/gst/equalizer/gstiirequalizer3bands.c b/gst/equalizer/gstiirequalizer3bands.c
index 5084dc1e..f1e11d50 100644
--- a/gst/equalizer/gstiirequalizer3bands.c
+++ b/gst/equalizer/gstiirequalizer3bands.c
@@ -58,17 +58,8 @@ static void gst_iir_equalizer_3bands_get_property (GObject * object,
GST_DEBUG_CATEGORY_EXTERN (equalizer_debug);
#define GST_CAT_DEFAULT equalizer_debug
-#define _do_init(bla) { \
- const GInterfaceInfo preset_interface_info = { \
- NULL, /* interface_init */ \
- NULL, /* interface_finalize */ \
- NULL /* interface_data */ \
- }; \
- g_type_add_interface_static(object_type, GST_TYPE_PRESET, &preset_interface_info); \
- }
-
-GST_BOILERPLATE_FULL (GstIirEqualizer3Bands, gst_iir_equalizer_3bands,
- GstIirEqualizer, GST_TYPE_IIR_EQUALIZER, _do_init);
+GST_BOILERPLATE (GstIirEqualizer3Bands, gst_iir_equalizer_3bands,
+ GstIirEqualizer, GST_TYPE_IIR_EQUALIZER);
/* equalizer implementation */