diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2007-11-11 12:54:31 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2007-11-11 12:54:31 +0000 |
commit | e086f2c148f7b00ae1d7046eca5c9385c3763acf (patch) | |
tree | afe59ab44d563c9fe98152f38154fe612fff69ba /gst/equalizer/gstiirequalizer3bands.c | |
parent | ee25c44f938942d94d36fe96bcdc1daf0828a28d (diff) | |
download | gst-plugins-bad-e086f2c148f7b00ae1d7046eca5c9385c3763acf.tar.gz gst-plugins-bad-e086f2c148f7b00ae1d7046eca5c9385c3763acf.tar.bz2 gst-plugins-bad-e086f2c148f7b00ae1d7046eca5c9385c3763acf.zip |
gst/equalizer/: Update docs and property ranges to the real values.
Original commit message from CVS:
* gst/equalizer/gstiirequalizer10bands.c:
(gst_iir_equalizer_10bands_class_init):
* gst/equalizer/gstiirequalizer3bands.c:
(gst_iir_equalizer_3bands_class_init):
* gst/equalizer/gstiirequalizernbands.c:
Update docs and property ranges to the real values.
Diffstat (limited to 'gst/equalizer/gstiirequalizer3bands.c')
-rw-r--r-- | gst/equalizer/gstiirequalizer3bands.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/gst/equalizer/gstiirequalizer3bands.c b/gst/equalizer/gstiirequalizer3bands.c index 08a1dfac..e2229dd7 100644 --- a/gst/equalizer/gstiirequalizer3bands.c +++ b/gst/equalizer/gstiirequalizer3bands.c @@ -27,7 +27,7 @@ * </para> * <para> * <programlisting> - * gst-launch filesrc location=song.ogg ! oggdemux ! vorbisdec ! audioconvert ! equalizer-3bands band1=1.0 ! alsasink + * gst-launch filesrc location=song.ogg ! oggdemux ! vorbisdec ! audioconvert ! equalizer-3bands band1=6.0 ! alsasink * </programlisting> * This raises the volume of the 2nd band which is at 1110 Hz by 6 db. * </para> @@ -41,7 +41,6 @@ #include "gstiirequalizer.h" #include "gstiirequalizer3bands.h" - enum { ARG_BAND0 = 1, @@ -85,16 +84,16 @@ gst_iir_equalizer_3bands_class_init (GstIirEqualizer3BandsClass * klass) g_object_class_install_property (gobject_class, ARG_BAND0, g_param_spec_double ("band0", "110 Hz", - "gain for the frequency band 110 Hz, ranging from -1.0 to +1.0", - -1.0, 1.0, 0.0, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE)); + "gain for the frequency band 100 Hz, ranging from -24.0 to +12.0", + -24.0, 12.0, 0.0, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE)); g_object_class_install_property (gobject_class, ARG_BAND1, - g_param_spec_double ("band1", "1110 Hz", - "gain for the frequency band 1110 Hz, ranging from -1.0 to +1.0", - -1.0, 1.0, 0.0, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE)); + g_param_spec_double ("band1", "1100 Hz", + "gain for the frequency band 1100 Hz, ranging from -24.0 to +12.0", + -24.0, 12.0, 0.0, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE)); g_object_class_install_property (gobject_class, ARG_BAND2, g_param_spec_double ("band2", "11 kHz", - "gain for the frequency band 11 kHz, ranging from -1.0 to +1.0", - -1.0, 1.0, 0.0, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE)); + "gain for the frequency band 11 kHz, ranging from -24.0 to +12.0", + -24.0, 12.0, 0.0, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE)); } static void |