1
0
Fork 0
forked from len0rd/rockbox

Ooops. I forgot to reset the test values

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1247 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2002-06-28 12:47:42 +00:00
parent ed8da1d461
commit 5c0ba529a0

View file

@ -54,9 +54,9 @@ static char *units[] =
static int numdecimals[] = static int numdecimals[] =
{ {
1, /* Volume */ 0, /* Volume */
2, /* Bass */ 0, /* Bass */
1 /* Treble */ 0 /* Treble */
}; };
static int minval[] = static int minval[] =
@ -750,15 +750,15 @@ int mpeg_val2phys(int setting, int value)
switch(setting) switch(setting)
{ {
case SOUND_VOLUME: case SOUND_VOLUME:
result = value * 20; result = value * 2;
break; break;
case SOUND_BASS: case SOUND_BASS:
result = value * 200; result = value * 2;
break; break;
case SOUND_TREBLE: case SOUND_TREBLE:
result = value * 20; result = value * 2;
break; break;
} }
return result; return result;