summaryrefslogtreecommitdiffstats
path: root/apps/settings.c
diff options
context:
space:
mode:
authorAndrew Ryabinin <ryabinin.a.a@gmail.com>2013-05-12 23:23:45 +0400
committerAndrew Ryabinin <ryabinin.a.a@gmail.com>2013-05-24 11:18:16 +0400
commit0519f7e5ab6d17f90257caffad85862187bffed6 (patch)
tree775bf5d5dff034919521d646fe6b01ef5eda8d24 /apps/settings.c
parentf6e179bd8eeb417e0428b8290df4ca058782e8b3 (diff)
downloadrockbox-0519f7e5ab6d17f90257caffad85862187bffed6.tar.gz
rockbox-0519f7e5ab6d17f90257caffad85862187bffed6.tar.bz2
rockbox-0519f7e5ab6d17f90257caffad85862187bffed6.zip
Add DAC's oversampling filter roll-off selection to sound settings.
Change-Id: I1258ba50dd9308f49d97965562f3a423c9bfb785
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/settings.c b/apps/settings.c
index b04b91cc66..adc53cd14b 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -753,6 +753,9 @@ void sound_settings_apply(void)
#ifdef AUDIOHW_HAVE_DEPTH_3D
sound_set(SOUND_DEPTH_3D, global_settings.depth_3d);
#endif
+#ifdef AUDIOHW_HAVE_FILTER_ROLL_OFF
+ sound_set(SOUND_FILTER_ROLL_OFF, global_settings.roll_off);
+#endif
#ifdef AUDIOHW_HAVE_EQ
int b;