shithub: aacenc

Download patch

ref: d1b45723d847f61b0cbdfb85c92446edc9b1fb3f
parent: 3aed0fbce5f920f0da9d193e25e83fae164b4cc3
author: Krzysztof Nikiel <knik@users.sourceforge.net>
date: Fri Oct 20 15:11:11 EDT 2017

midside: use energy threshold rather than volume threshold

--- a/libfaac/midside.c
+++ b/libfaac/midside.c
@@ -123,8 +123,8 @@
     int chn;
     int usems;
     double mutethr;
-    static const double thr075 = 0.09; /* ~0.75dB */
-    static const double thrmax = 0.25; /* ~2dB */
+    static const double thr075 = 0.1885; /* ~0.75dB */
+    static const double thrmax = 1.5; /* ~1.76dB */
 
     if (quality > 0.01)
     {