summaryrefslogtreecommitdiffstats
path: root/apps/menus
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/menus
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/menus')
-rw-r--r--apps/menus/sound_menu.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/menus/sound_menu.c b/apps/menus/sound_menu.c
index d24a9cd695..fd192cb661 100644
--- a/apps/menus/sound_menu.c
+++ b/apps/menus/sound_menu.c
@@ -88,6 +88,10 @@ MENUITEM_SETTING(stereo_width, &global_settings.stereo_width,
MENUITEM_SETTING(depth_3d, &global_settings.depth_3d, NULL);
#endif
+#ifdef AUDIOHW_HAVE_FILTER_ROLL_OFF
+MENUITEM_SETTING(roll_off, &global_settings.roll_off, NULL);
+#endif
+
#if CONFIG_CODEC == SWCODEC
/* Crossfeed Submenu */
MENUITEM_SETTING(crossfeed, &global_settings.crossfeed, lowlatency_callback);
@@ -183,6 +187,9 @@ MAKE_MENU(sound_settings, ID2P(LANG_SOUND_SETTINGS), NULL, Icon_Audio,
#ifdef AUDIOHW_HAVE_DEPTH_3D
,&depth_3d
#endif
+#ifdef AUDIOHW_HAVE_FILTER_ROLL_OFF
+ ,&roll_off
+#endif
#if CONFIG_CODEC == SWCODEC
,&crossfeed_menu, &equalizer_menu, &dithering_enabled
#ifdef HAVE_PITCHCONTROL