mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
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:
parent
5ad51c61bc
commit
ba08767434
1 changed files with 2 additions and 2 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue