diff options
author | Stefan Kost <ensonic@users.sourceforge.net> | 2008-11-13 16:24:59 +0000 |
---|---|---|
committer | Stefan Kost <ensonic@users.sourceforge.net> | 2008-11-13 16:24:59 +0000 |
commit | 2b8b13e7a4f277ec4a05fb946e6ff23c8cca158f (patch) | |
tree | fef2b7194fa8e79e50e25e80271cd71fa21ae795 /gst/equalizer/gstiirequalizer3bands.c | |
parent | c97549583815a9f60e5f15884e6ecfa3c40a233b (diff) |
gst/equalizer/: Add presets for equalizer. Fixes #522183.
Original commit message from CVS:
* gst/equalizer/GstIirEqualizer10Bands.prs:
* gst/equalizer/GstIirEqualizer3Bands.prs:
* gst/equalizer/Makefile.am:
* gst/equalizer/gstiirequalizer10bands.c:
* gst/equalizer/gstiirequalizer3bands.c:
Add presets for equalizer. Fixes #522183.
Diffstat (limited to 'gst/equalizer/gstiirequalizer3bands.c')
-rw-r--r-- | gst/equalizer/gstiirequalizer3bands.c | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/gst/equalizer/gstiirequalizer3bands.c b/gst/equalizer/gstiirequalizer3bands.c index f1e11d50..c550f786 100644 --- a/gst/equalizer/gstiirequalizer3bands.c +++ b/gst/equalizer/gstiirequalizer3bands.c @@ -58,8 +58,22 @@ static void gst_iir_equalizer_3bands_get_property (GObject * object, GST_DEBUG_CATEGORY_EXTERN (equalizer_debug); #define GST_CAT_DEFAULT equalizer_debug -GST_BOILERPLATE (GstIirEqualizer3Bands, gst_iir_equalizer_3bands, - GstIirEqualizer, GST_TYPE_IIR_EQUALIZER); + +static void +_do_init (GType object_type) +{ + 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); /* equalizer implementation */ |