summaryrefslogtreecommitdiff
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.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/apps/menus/sound_menu.c b/apps/menus/sound_menu.c
index ee966ac62a..174329fcc8 100644
--- a/apps/menus/sound_menu.c
+++ b/apps/menus/sound_menu.c
@@ -108,18 +108,10 @@ MENUITEM_SETTING(treble_cutoff, &global_settings.treble_cutoff, NULL);
108 108
109MENUITEM_SETTING(balance, &global_settings.balance, NULL); 109MENUITEM_SETTING(balance, &global_settings.balance, NULL);
110MENUITEM_SETTING(channel_config, &global_settings.channel_config, 110MENUITEM_SETTING(channel_config, &global_settings.channel_config,
111#if CONFIG_CODEC == SWCODEC
112 lowlatency_callback 111 lowlatency_callback
113#else
114 NULL
115#endif
116); 112);
117MENUITEM_SETTING(stereo_width, &global_settings.stereo_width, 113MENUITEM_SETTING(stereo_width, &global_settings.stereo_width,
118#if CONFIG_CODEC == SWCODEC
119 lowlatency_callback 114 lowlatency_callback
120#else
121 NULL
122#endif
123); 115);
124 116
125#ifdef AUDIOHW_HAVE_DEPTH_3D 117#ifdef AUDIOHW_HAVE_DEPTH_3D
@@ -134,7 +126,6 @@ MENUITEM_SETTING(roll_off, &global_settings.roll_off, NULL);
134MENUITEM_SETTING(func_mode, &global_settings.func_mode, NULL); 126MENUITEM_SETTING(func_mode, &global_settings.func_mode, NULL);
135#endif 127#endif
136 128
137#if CONFIG_CODEC == SWCODEC
138 /* Crossfeed Submenu */ 129 /* Crossfeed Submenu */
139 MENUITEM_SETTING(crossfeed, &global_settings.crossfeed, lowlatency_callback); 130 MENUITEM_SETTING(crossfeed, &global_settings.crossfeed, lowlatency_callback);
140 MENUITEM_SETTING(crossfeed_direct_gain, 131 MENUITEM_SETTING(crossfeed_direct_gain,
@@ -216,7 +207,6 @@ static int timestretch_callback(int action,
216 MAKE_MENU(compressor_menu,ID2P(LANG_COMPRESSOR), NULL, Icon_NOICON, 207 MAKE_MENU(compressor_menu,ID2P(LANG_COMPRESSOR), NULL, Icon_NOICON,
217 &compressor_threshold, &compressor_gain, &compressor_ratio, 208 &compressor_threshold, &compressor_gain, &compressor_ratio,
218 &compressor_knee, &compressor_attack, &compressor_release); 209 &compressor_knee, &compressor_attack, &compressor_release);
219#endif
220 210
221#ifdef HAVE_SPEAKER 211#ifdef HAVE_SPEAKER
222 MENUITEM_SETTING(speaker_mode, &global_settings.speaker_mode, NULL); 212 MENUITEM_SETTING(speaker_mode, &global_settings.speaker_mode, NULL);
@@ -253,14 +243,12 @@ MAKE_MENU(sound_settings, ID2P(LANG_SOUND_SETTINGS), NULL, Icon_Audio,
253#ifdef AUDIOHW_HAVE_FUNCTIONAL_MODE 243#ifdef AUDIOHW_HAVE_FUNCTIONAL_MODE
254 ,&func_mode 244 ,&func_mode
255#endif 245#endif
256#if CONFIG_CODEC == SWCODEC
257 ,&crossfeed_menu, &equalizer_menu, &dithering_enabled 246 ,&crossfeed_menu, &equalizer_menu, &dithering_enabled
258 ,&surround_menu, &pbe_menu, &afr_enabled 247 ,&surround_menu, &pbe_menu, &afr_enabled
259#ifdef HAVE_PITCHCONTROL 248#ifdef HAVE_PITCHCONTROL
260 ,&timestretch_enabled 249 ,&timestretch_enabled
261#endif 250#endif
262 ,&compressor_menu 251 ,&compressor_menu
263#endif
264#ifdef HAVE_SPEAKER 252#ifdef HAVE_SPEAKER
265 ,&speaker_mode 253 ,&speaker_mode
266#endif 254#endif