diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2002-06-28 12:47:42 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2002-06-28 12:47:42 +0000 |
commit | 5c0ba529a078a0b3af039800e249df153d7b08b3 (patch) | |
tree | 38292e15cf6f76f3db5804c9407bfa3badda100d /firmware | |
parent | ed8da1d46158299818acbce0fb7ad0adc2032284 (diff) | |
download | rockbox-5c0ba529a078a0b3af039800e249df153d7b08b3.tar.gz rockbox-5c0ba529a078a0b3af039800e249df153d7b08b3.zip |
Ooops. I forgot to reset the test values
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1247 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/mpeg.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c index 6aca3c5d89..e2de26e5f6 100644 --- a/firmware/mpeg.c +++ b/firmware/mpeg.c | |||
@@ -54,9 +54,9 @@ static char *units[] = | |||
54 | 54 | ||
55 | static int numdecimals[] = | 55 | static int numdecimals[] = |
56 | { | 56 | { |
57 | 1, /* Volume */ | 57 | 0, /* Volume */ |
58 | 2, /* Bass */ | 58 | 0, /* Bass */ |
59 | 1 /* Treble */ | 59 | 0 /* Treble */ |
60 | }; | 60 | }; |
61 | 61 | ||
62 | static int minval[] = | 62 | static int minval[] = |
@@ -750,15 +750,15 @@ int mpeg_val2phys(int setting, int value) | |||
750 | switch(setting) | 750 | switch(setting) |
751 | { | 751 | { |
752 | case SOUND_VOLUME: | 752 | case SOUND_VOLUME: |
753 | result = value * 20; | 753 | result = value * 2; |
754 | break; | 754 | break; |
755 | 755 | ||
756 | case SOUND_BASS: | 756 | case SOUND_BASS: |
757 | result = value * 200; | 757 | result = value * 2; |
758 | break; | 758 | break; |
759 | 759 | ||
760 | case SOUND_TREBLE: | 760 | case SOUND_TREBLE: |
761 | result = value * 20; | 761 | result = value * 2; |
762 | break; | 762 | break; |
763 | } | 763 | } |
764 | return result; | 764 | return result; |