Commit 3f92db24 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Spatializer: more sane default for Wet value and limit all values

I am not sure this filter ever worked as intended.
It was providing serious distortions.

This is now limiting seriously the space of parameters but at least it
does not explode anymore. Should close #4887
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit be8542ade356de4fa218b03df22747182bcbe9a0)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 05fc7551
...@@ -76,12 +76,16 @@ vlc_module_begin () ...@@ -76,12 +76,16 @@ vlc_module_begin ()
set_callbacks( Open, Close ) set_callbacks( Open, Close )
add_shortcut( "spatializer" ) add_shortcut( "spatializer" )
add_float( "spatializer-roomsize", 1.05, ROOMSIZE_TEXT, add_float_with_range( "spatializer-roomsize", 0.85, 0., 1.1,
ROOMSIZE_LONGTEXT, true ) ROOMSIZE_TEXT, ROOMSIZE_LONGTEXT, false )
add_float( "spatializer-width", 10., WIDTH_TEXT,WIDTH_LONGTEXT, true ) add_float_with_range( "spatializer-width", 1, 0., 1.,
add_float( "spatializer-wet", 3., WET_TEXT,WET_LONGTEXT, true ) WIDTH_TEXT,WIDTH_LONGTEXT, false )
add_float( "spatializer-dry", 2., DRY_TEXT,DRY_LONGTEXT, true ) add_float_with_range( "spatializer-wet", 0.4, 0., 1.,
add_float_with_range( "spatializer-damp", 1., 0., 4., DAMP_TEXT,DAMP_LONGTEXT, true ) WET_TEXT,WET_LONGTEXT, false )
add_float_with_range( "spatializer-dry", 0.5, 0., 1.,
DRY_TEXT,DRY_LONGTEXT, false )
add_float_with_range( "spatializer-damp", 0.5, 0., 1.,
DAMP_TEXT,DAMP_LONGTEXT, false )
vlc_module_end () vlc_module_end ()
/***************************************************************************** /*****************************************************************************
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment