shithub: sox

Download patch

ref: ebeb3d0c6599523b9c292909a4ccbf31780c50bf
parent: b7a1855e6660d284b290535c2850272fc785d34e
author: robs <robs>
date: Sun Feb 10 06:11:57 EST 2008

typo

--- a/src/remix.c
+++ b/src/remix.c
@@ -81,7 +81,7 @@
         multiplier = sep1 == 'v' ? 1 : 0;
         PARSE(sep2, "%lf", multiplier, -HUGE_VAL, separators + 4);
         if (sep1 != 'v')
-          multiplier = (sep1 == 'p'? 1 : -1) * exp(multiplier / 40 * log(10.));
+          multiplier = (sep1 == 'p'? 1 : -1) * exp(multiplier / 20 * log(10.));
         mul_spec = sox_true;
       }
       if (chan2 < chan1) {int t = chan1; chan1 = chan2; chan2 = t;}