summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2010-09-17 20:28:47 +0000
committerFrank Gevaerts <frank@gevaerts.be>2010-09-17 20:28:47 +0000
commitf366090562dcdc1c4c0efbd87476ef6c068b7db5 (patch)
tree17bf868c61d677ce7969bcc5312e5a69abeda428 /apps/settings.c
parentbd43690170ea9441226557bf58907654338b6029 (diff)
downloadrockbox-f366090562dcdc1c4c0efbd87476ef6c068b7db5.tar.gz
rockbox-f366090562dcdc1c4c0efbd87476ef6c068b7db5.zip
Make disabling HAVE_PITCHSCREEN actually work without breaking the build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28102 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 3b12274eae..7b0707b2f1 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -992,7 +992,9 @@ void settings_apply(bool read_disk)
992 } 992 }
993 993
994 dsp_dither_enable(global_settings.dithering_enabled); 994 dsp_dither_enable(global_settings.dithering_enabled);
995#ifdef HAVE_PITCHSCREEN
995 dsp_timestretch_enable(global_settings.timestretch_enabled); 996 dsp_timestretch_enable(global_settings.timestretch_enabled);
997#endif
996 dsp_set_compressor(global_settings.compressor_threshold, 998 dsp_set_compressor(global_settings.compressor_threshold,
997 global_settings.compressor_makeup_gain, 999 global_settings.compressor_makeup_gain,
998 global_settings.compressor_ratio, 1000 global_settings.compressor_ratio,