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
This commit is contained in:
Thom Johansen 2006-04-06 20:33:35 +00:00
parent 5ad51c61bc
commit ba08767434

View file

@ -289,9 +289,9 @@ static long convert_gain(long gain)
/* Don't allow unreasonably low or high gain changes. /* Don't allow unreasonably low or high gain changes.
* Our math code can't handle it properly anyway. :) * 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)) if (gain > (17 * FP_ONE))