summaryrefslogtreecommitdiffstats
path: root/apps/menus
diff options
context:
space:
mode:
authorChiwen Chang <rock1104.tw@yahoo.com.tw>2014-08-22 23:30:35 +1000
committerGerrit Rockbox <gerrit@rockbox.org>2015-01-19 19:34:01 +0100
commit3ae0f32ac3d6693a9528703c5f1b3586a9d79601 (patch)
treef34f7a90ac4cdaa1e1bf31574e8e4967916616a4 /apps/menus
parent2cdfc43f10e3d755018ea508b64b209608d71864 (diff)
downloadrockbox-3ae0f32ac3d6693a9528703c5f1b3586a9d79601.tar.gz
rockbox-3ae0f32ac3d6693a9528703c5f1b3586a9d79601.tar.bz2
rockbox-3ae0f32ac3d6693a9528703c5f1b3586a9d79601.zip
three new DSPs
perceptual bass enhancement - a bbe-ish group delay corrction with Biophonic EQ boost. - precut auditory fatigue reduction -reduce signal in frequency that may trigger temporary threshold shift haas surround -frequency between f(x1) and f(x2) is always bypassed. -can apply to side only. Change-Id: Icb6355ce9b1c99bf2c58c9385c3c411c0ae209d3
Diffstat (limited to 'apps/menus')
-rw-r--r--apps/menus/sound_menu.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/apps/menus/sound_menu.c b/apps/menus/sound_menu.c
index 8913266a5f..7c04662233 100644
--- a/apps/menus/sound_menu.c
+++ b/apps/menus/sound_menu.c
@@ -166,6 +166,28 @@ static int timestretch_callback(int action,const struct menu_item_ex *this_item)
MENUITEM_SETTING(dithering_enabled,
&global_settings.dithering_enabled, lowlatency_callback);
+ MENUITEM_SETTING(afr_enabled,
+ &global_settings.afr_enabled, lowlatency_callback);
+ MENUITEM_SETTING(pbe,
+ &global_settings.pbe, lowlatency_callback);
+ MENUITEM_SETTING(pbe_precut,
+ &global_settings.pbe_precut, lowlatency_callback);
+ MAKE_MENU(pbe_menu,ID2P(LANG_PBE), NULL, Icon_NOICON,
+ &pbe,&pbe_precut);
+ MENUITEM_SETTING(surround_enabled,
+ &global_settings.surround_enabled, lowlatency_callback);
+ MENUITEM_SETTING(surround_balance,
+ &global_settings.surround_balance, lowlatency_callback);
+ MENUITEM_SETTING(surround_fx1,
+ &global_settings.surround_fx1, lowlatency_callback);
+ MENUITEM_SETTING(surround_fx2,
+ &global_settings.surround_fx2, lowlatency_callback);
+ MENUITEM_SETTING(surround_method2,
+ &global_settings.surround_method2, lowlatency_callback);
+ MENUITEM_SETTING(surround_mix,
+ &global_settings.surround_mix, lowlatency_callback);
+ MAKE_MENU(surround_menu,ID2P(LANG_SURROUND), NULL, Icon_NOICON,
+ &surround_enabled,&surround_balance,&surround_fx1,&surround_fx2,&surround_method2,&surround_mix);
/* compressor submenu */
MENUITEM_SETTING(compressor_threshold,
@@ -236,6 +258,7 @@ MAKE_MENU(sound_settings, ID2P(LANG_SOUND_SETTINGS), NULL, Icon_Audio,
#endif
#if CONFIG_CODEC == SWCODEC
,&crossfeed_menu, &equalizer_menu, &dithering_enabled
+ ,&surround_menu, &pbe_menu, &afr_enabled
#ifdef HAVE_PITCHCONTROL
,&timestretch_enabled
#endif