summaryrefslogtreecommitdiffstats
path: root/apps/menus/sound_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/menus/sound_menu.c')
-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