summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-06-28 12:47:42 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-06-28 12:47:42 +0000
commit5c0ba529a078a0b3af039800e249df153d7b08b3 (patch)
tree38292e15cf6f76f3db5804c9407bfa3badda100d
parented8da1d46158299818acbce0fb7ad0adc2032284 (diff)
downloadrockbox-5c0ba529a078a0b3af039800e249df153d7b08b3.zip
rockbox-5c0ba529a078a0b3af039800e249df153d7b08b3.tar.gz
rockbox-5c0ba529a078a0b3af039800e249df153d7b08b3.tar.bz2
rockbox-5c0ba529a078a0b3af039800e249df153d7b08b3.tar.xz
Ooops. I forgot to reset the test values
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1247 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/mpeg.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c
index 6aca3c5..e2de26e 100644
--- a/firmware/mpeg.c
+++ b/firmware/mpeg.c
@@ -54,9 +54,9 @@ static char *units[] =
static int numdecimals[] =
{
- 1, /* Volume */
- 2, /* Bass */
- 1 /* Treble */
+ 0, /* Volume */
+ 0, /* Bass */
+ 0 /* Treble */
};
static int minval[] =
@@ -750,15 +750,15 @@ int mpeg_val2phys(int setting, int value)
switch(setting)
{
case SOUND_VOLUME:
- result = value * 20;
+ result = value * 2;
break;
case SOUND_BASS:
- result = value * 200;
+ result = value * 2;
break;
case SOUND_TREBLE:
- result = value * 20;
+ result = value * 2;
break;
}
return result;