[gst-cvs] gst-plugins-good: audioamplify: Allow negative amplifications

Sebastian Dröge slomo at kemper.freedesktop.org
Wed Jan 13 00:22:49 PST 2010


Module: gst-plugins-good
Branch: master
Commit: d009678bc599e67be5f05292e2b34349fa8c7f4f
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=d009678bc599e67be5f05292e2b34349fa8c7f4f

Author: Kipp Cannon <kcannon at ligo.caltech.edu>
Date:   Wed Jan 13 09:22:20 2010 +0100

audioamplify: Allow negative amplifications

Fixes bug #606807.

---

 gst/audiofx/audioamplify.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gst/audiofx/audioamplify.c b/gst/audiofx/audioamplify.c
index 4a18497..4273626 100644
--- a/gst/audiofx/audioamplify.c
+++ b/gst/audiofx/audioamplify.c
@@ -308,7 +308,7 @@ gst_audio_amplify_class_init (GstAudioAmplifyClass * klass)
 
   g_object_class_install_property (gobject_class, PROP_AMPLIFICATION,
       g_param_spec_float ("amplification", "Amplification",
-          "Factor of amplification", 0.0, G_MAXFLOAT,
+          "Factor of amplification", -G_MAXFLOAT, G_MAXFLOAT,
           1.0, G_PARAM_READWRITE | GST_PARAM_CONTROLLABLE));
 
   /**





More information about the Gstreamer-commits mailing list