ref: 2d9b0294126d4c6e6d470b5239863c4e5daf03c5
parent: ff332f560729e70b9544d75274edb6fb8913604c
author: Rob Sykes <robs@users.sourceforge.net>
date: Thu Jan 10 00:59:35 EST 2013
Fix truncation due to integer division Found by Michael Niedermayer. (cherry picked from commit 4d1529dd2d6af2632bcffa91dca29113422a489c)
--- a/src/dither.c
+++ b/src/dither.c
@@ -397,7 +397,7 @@
default: assert(sox_false);
}
p->coefs = f->coefs;
- mult = dB_to_linear(f->gain_cB / 10);
+ mult = dB_to_linear(f->gain_cB * 0.1);
}
}
p->ranqd1 = ranqd1(sox_globals.ranqd1) + effp->flow;