From a0a99f1096c82288ed4767ba15019d1027f01104 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Fri, 16 Mar 2007 09:57:40 +0000 Subject: gst/equalizer/gstiirequalizer10bands.c: A 10 band EQ should be initialized to 1 bands and not to 3. Original commit message from CVS: * gst/equalizer/gstiirequalizer10bands.c: (gst_iir_equalizer_10bands_init): A 10 band EQ should be initialized to 1 bands and not to 3. --- gst/equalizer/gstiirequalizer10bands.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'gst/equalizer') diff --git a/gst/equalizer/gstiirequalizer10bands.c b/gst/equalizer/gstiirequalizer10bands.c index 66a99061..417f2943 100644 --- a/gst/equalizer/gstiirequalizer10bands.c +++ b/gst/equalizer/gstiirequalizer10bands.c @@ -17,6 +17,23 @@ * Boston, MA 02111-1307, USA. */ +/** + * SECTION:element-equalizer-10bands + * + * + * Example launch line + * + * The 10 band equalizer element changes the frequency spectrum of the audio data. + * + * + * + * gst-launch filesrc location=song.ogg ! oggdemux ! vorbisdec ! audioconvert ! equalizer-10bands band2=-1.0 ! alsasink + * + * This lowers the volume of the 3rd band which is at 93 Hz by FIXME db. + * + * + */ + /* * * gst-launch filesrc location=song.ogg ! oggdemux ! vorbisdec ! audioconvert ! equalizer-10bands band1=-1.0 ! alsasink @@ -126,7 +143,7 @@ gst_iir_equalizer_10bands_init (GstIirEqualizer10Bands * equ_n, { GstIirEqualizer *equ = GST_IIR_EQUALIZER (equ_n); - gst_iir_equalizer_compute_frequencies (equ, 3); + gst_iir_equalizer_compute_frequencies (equ, 10); } static void -- cgit