[vlc-commits] Spatializer: limit damp range

Jean-Baptiste Kempf git at videolan.org
Sat Feb 25 18:09:51 CET 2012


vlc/vlc-2.0 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Feb 25 17:49:34 2012 +0100| [e8ad8716e8599c8e58ec4d4d742f64cf9f257bd4] | committer: Jean-Baptiste Kempf

Spatializer: limit damp range

Close #6143
(cherry picked from commit e15926296fabd591fe61ffb22db1df93e62fbd49)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=e8ad8716e8599c8e58ec4d4d742f64cf9f257bd4
---

 modules/audio_filter/spatializer/spatializer.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/audio_filter/spatializer/spatializer.cpp b/modules/audio_filter/spatializer/spatializer.cpp
index a910dff..45658e3 100644
--- a/modules/audio_filter/spatializer/spatializer.cpp
+++ b/modules/audio_filter/spatializer/spatializer.cpp
@@ -81,7 +81,7 @@ vlc_module_begin ()
     add_float( "spatializer-width", 10., WIDTH_TEXT,WIDTH_LONGTEXT, true )
     add_float( "spatializer-wet", 3., WET_TEXT,WET_LONGTEXT, true )
     add_float( "spatializer-dry", 2., DRY_TEXT,DRY_LONGTEXT, true )
-    add_float( "spatializer-damp", 1., DAMP_TEXT,DAMP_LONGTEXT, true )
+    add_float_with_range( "spatializer-damp", 1., 0., 4., DAMP_TEXT,DAMP_LONGTEXT, true )
 vlc_module_end ()
 
 /*****************************************************************************



More information about the vlc-commits mailing list