[vlc-commits] Spatializer: limit damp range

Jean-Baptiste Kempf git at videolan.org
Sat Feb 25 17:50:02 CET 2012


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

Spatializer: limit damp range

Close #6143

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

 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