Index: gst/equalizer/Makefile.am
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-good/gst/equalizer/Makefile.am,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile.am
--- gst/equalizer/Makefile.am	9 Feb 2008 00:15:25 -0000	1.9
+++ gst/equalizer/Makefile.am	13 Mar 2008 08:06:41 -0000
@@ -15,3 +15,8 @@ libgstequalizer_la_LDFLAGS = $(GST_PLUGI
 
 noinst_HEADERS = gstiirequalizer.h
 
+presetdir = $(datadir)/gstreamer-$(GST_MAJORMINOR)/presets
+preset_DATA = GstIirEqualizer3Bands.prs GstIirEqualizer10Bands.prs
+
+EXTRA_DIST = $(preset_DATA)
+
Index: gst/equalizer/gstiirequalizer10bands.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-good/gst/equalizer/gstiirequalizer10bands.c,v
retrieving revision 1.8
diff -u -p -r1.8 gstiirequalizer10bands.c
--- gst/equalizer/gstiirequalizer10bands.c	21 Nov 2007 08:21:10 -0000	1.8
+++ gst/equalizer/gstiirequalizer10bands.c	13 Mar 2008 08:06:41 -0000
@@ -66,8 +66,22 @@ static void gst_iir_equalizer_10bands_ge
 GST_DEBUG_CATEGORY_EXTERN (equalizer_debug);
 #define GST_CAT_DEFAULT equalizer_debug
 
-GST_BOILERPLATE (GstIirEqualizer10Bands, gst_iir_equalizer_10bands,
-    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 (GstIirEqualizer10Bands, gst_iir_equalizer_10bands,
+    GstIirEqualizer, GST_TYPE_IIR_EQUALIZER, _do_init);
 
 /* equalizer implementation */
 
Index: gst/equalizer/gstiirequalizer3bands.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-good/gst/equalizer/gstiirequalizer3bands.c,v
retrieving revision 1.7
diff -u -p -r1.7 gstiirequalizer3bands.c
--- gst/equalizer/gstiirequalizer3bands.c	21 Nov 2007 08:21:10 -0000	1.7
+++ gst/equalizer/gstiirequalizer3bands.c	13 Mar 2008 08:06:41 -0000
@@ -58,8 +58,21 @@ static void gst_iir_equalizer_3bands_get
 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 */
 
--- /dev/null	2007-11-01 11:06:12.000000000 +0200
+++ gst/equalizer/GstIirEqualizer3Bands.prs	2008-03-13 09:28:29.000000000 +0200
@@ -0,0 +1,14 @@
+GStreamer Preset
+0.10
+GstIirEqualizer3Bands
+
+crispy
+band0=0
+band1=0
+band2=6.0472440944881871
+
+extra bass
+band0=7.743602362204725
+band1=0
+band2=0
+
--- /dev/null	2007-11-01 11:06:12.000000000 +0200
+++ gst/equalizer/GstIirEqualizer10Bands.prs	2008-03-13 09:28:18.000000000 +0200
@@ -0,0 +1,28 @@
+GStreamer Preset
+0.10
+GstIirEqualizer10Bands
+
+dance
+band9=4.346456692913387
+band0=7.7480314960629917
+band1=5.4803149606299204
+band2=4.0629921259842501
+band3=2.6456692913385833
+band4=1.5118110236220459
+band5=0
+band6=0
+band7=0.66141732283464583
+band8=2.36220472440945
+
+extra bass
+band9=-1.3322676295501878e-15
+band0=8.1538461538461551
+band1=6.0000000000000018
+band2=4.6153846153846132
+band3=3.3846153846153832
+band4=2.1538461538461529
+band5=1.5384615384615397
+band6=0.61538461538461586
+band7=0.30769230769230926
+band8=-1.3322676295501878e-15
+
