summaryrefslogtreecommitdiff
path: root/firmware/mpeg.c
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2003-04-09 11:58:36 +0000
committerBjörn Stenberg <bjorn@haxx.se>2003-04-09 11:58:36 +0000
commit46dea9080b54179488affb24fc2eca4231851ff2 (patch)
treea49fd8f7c76ffe4c79759fbdf0f2c4f98da578d6 /firmware/mpeg.c
parent51d8b15617b82e90bb99d468bed04e8a65b3ef80 (diff)
Added missing gain setting code (Henrik Backe)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3521 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/mpeg.c')
-rw-r--r--firmware/mpeg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c
index 7d137dfacd..718d5c4c62 100644
--- a/firmware/mpeg.c
+++ b/firmware/mpeg.c
@@ -2693,15 +2693,15 @@ int mpeg_phys2val(int setting, int value)
break;
#ifdef HAVE_MAS3587F
- case SOUND_LOUDNESS:
- result = value;
- break;
-
case SOUND_SUPERBASS:
result = value / 10;
break;
+ case SOUND_LOUDNESS:
case SOUND_AVC:
+ case SOUND_LEFT_GAIN:
+ case SOUND_RIGHT_GAIN:
+ case SOUND_MIC_GAIN:
result = value;
break;
#endif