gst/equalizer/gstiirequalizer10bands.c: A 10 band EQ should be initialized to 1 bands...
authorStefan Kost <ensonic@users.sourceforge.net>
Fri, 16 Mar 2007 09:57:40 +0000 (09:57 +0000)
committerStefan Kost <ensonic@users.sourceforge.net>
Fri, 16 Mar 2007 09:57:40 +0000 (09:57 +0000)
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.

ChangeLog
gst/equalizer/gstiirequalizer10bands.c

index 6696c67..2b86970 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-03-16  Stefan Kost  <ensonic@users.sf.net>
+
+       * gst/equalizer/gstiirequalizer10bands.c:
+       (gst_iir_equalizer_10bands_init):
+         A 10 band EQ should be initialized to 1 bands and not to 3.
+
 2007-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
 
        * configure.ac:
index 66a9906..417f294 100644 (file)
  * Boston, MA 02111-1307, USA.
  */
 
+/**
+ * SECTION:element-equalizer-10bands
+ *
+ * <refsect2>
+ * <title>Example launch line</title>
+ * <para>
+ * The 10 band equalizer element changes the frequency spectrum of the audio data.
+ * </para>
+ * <para>
+ * <programlisting>
+ * gst-launch filesrc location=song.ogg ! oggdemux ! vorbisdec ! audioconvert ! equalizer-10bands band2=-1.0 ! alsasink
+ * </programlisting>
+ * This lowers the volume of the 3rd band which is at 93 Hz by FIXME db.
+ * </para>
+ * </refsect2>
+ */
+
 /*
  *
  * 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