summaryrefslogtreecommitdiff
path: root/firmware/sound.c
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2011-03-14 23:14:07 +0000
committerMarcin Bukat <marcin.bukat@gmail.com>2011-03-14 23:14:07 +0000
commitf056669dcd1cc030e1d6206bda9a50beccbc8fc1 (patch)
tree9506d7fdb40df206fb983319cc6e00adf2733fc1 /firmware/sound.c
parentae68278c8d3c253b2417439b0176f97476f8caa4 (diff)
fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29589 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/sound.c')
-rw-r--r--firmware/sound.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/sound.c b/firmware/sound.c
index 658a732a15..f58dddd740 100644
--- a/firmware/sound.c
+++ b/firmware/sound.c
@@ -761,11 +761,11 @@ int sound_val2phys(int setting, int value)
result = value * 5;
break;
#endif
-
+#ifdef AUDIOHW_HAVE_DEPTH_3D
case SOUND_DEPTH_3D:
result = (100 * value + 8) / 15;
break;
-
+#endif
default:
result = value;
}