summaryrefslogtreecommitdiffstats
path: root/firmware/sound.c
diff options
context:
space:
mode:
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;
}