[vlc-commits] Compressor: change the defaults

Jean-Baptiste Kempf git at videolan.org
Tue Dec 8 10:57:51 CET 2015


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Dec  8 10:57:12 2015 +0100| [f8b0c7d533d2a3f9e8dacf4de7e124c5c5e93043] | committer: Jean-Baptiste Kempf

Compressor: change the defaults

0.2 of RMS/Peak, 4.0:1 of ratio and 5.0 of knee

ref #16079

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

 modules/audio_filter/compressor.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/audio_filter/compressor.c b/modules/audio_filter/compressor.c
index e154fb5..1936fba 100644
--- a/modules/audio_filter/compressor.c
+++ b/modules/audio_filter/compressor.c
@@ -182,7 +182,7 @@ vlc_module_begin()
     set_category( CAT_AUDIO )
     set_subcategory( SUBCAT_AUDIO_AFILTER )
 
-    add_float( "compressor-rms-peak", 0.0, RMS_PEAK_TEXT,
+    add_float( "compressor-rms-peak", 0.2, RMS_PEAK_TEXT,
                RMS_PEAK_LONGTEXT, false )
     add_float( "compressor-attack", 25.0, ATTACK_TEXT,
                ATTACK_LONGTEXT, false )
@@ -190,9 +190,9 @@ vlc_module_begin()
                RELEASE_LONGTEXT, false )
     add_float( "compressor-threshold", -11.0, THRESHOLD_TEXT,
                THRESHOLD_LONGTEXT, false )
-    add_float( "compressor-ratio", 8.0, RATIO_TEXT,
+    add_float( "compressor-ratio", 4.0, RATIO_TEXT,
                RATIO_LONGTEXT, false )
-    add_float( "compressor-knee", 2.5, KNEE_TEXT,
+    add_float( "compressor-knee", 5.0, KNEE_TEXT,
                KNEE_LONGTEXT, false )
     add_float( "compressor-makeup-gain", 7.0, MAKEUP_GAIN_TEXT,
                MAKEUP_GAIN_LONGTEXT, false )



More information about the vlc-commits mailing list