From ba0876743412ffaf9e549ccb9899468ad9ad5dbf Mon Sep 17 00:00:00 2001 From: Thom Johansen Date: Thu, 6 Apr 2006 20:33:35 +0000 Subject: Allow lower cuts than -23 dB, since the code seems to work then anyway. This is needed by both EQ pre-cut and new crossfeed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9538 a1c6a512-1295-4272-9138-f99709370657 --- firmware/replaygain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/replaygain.c b/firmware/replaygain.c index 3a2e89757a..a8331ae483 100644 --- a/firmware/replaygain.c +++ b/firmware/replaygain.c @@ -289,9 +289,9 @@ static long convert_gain(long gain) /* Don't allow unreasonably low or high gain changes. * Our math code can't handle it properly anyway. :) */ - if (gain < (-23 * FP_ONE)) + if (gain < (-48 * FP_ONE)) { - gain = -23 * FP_ONE; + gain = -48 * FP_ONE; } if (gain > (17 * FP_ONE)) -- cgit v1.2.3