diff options
Diffstat (limited to 'apps/settings_menu.c')
-rw-r--r-- | apps/settings_menu.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c index 102453033e..ce2399b1e5 100644 --- a/apps/settings_menu.c +++ b/apps/settings_menu.c | |||
@@ -1203,6 +1203,15 @@ static bool replaygain_settings_menu(void) | |||
1203 | return result; | 1203 | return result; |
1204 | } | 1204 | } |
1205 | 1205 | ||
1206 | static bool crossfeed(void) | ||
1207 | { | ||
1208 | bool result = set_bool(str(LANG_CROSSFEED_ENABLE), | ||
1209 | &global_settings.crossfeed); | ||
1210 | |||
1211 | dsp_set_crossfeed(global_settings.crossfeed); | ||
1212 | return result; | ||
1213 | } | ||
1214 | |||
1206 | static bool crossfade(void) | 1215 | static bool crossfade(void) |
1207 | { | 1216 | { |
1208 | static const struct opt_items names[] = { | 1217 | static const struct opt_items names[] = { |
@@ -1354,6 +1363,7 @@ static bool playback_settings_menu(void) | |||
1354 | #if CONFIG_CODEC == SWCODEC | 1363 | #if CONFIG_CODEC == SWCODEC |
1355 | { ID2P(LANG_CROSSFADE), crossfade_settings_menu }, | 1364 | { ID2P(LANG_CROSSFADE), crossfade_settings_menu }, |
1356 | { ID2P(LANG_REPLAYGAIN), replaygain_settings_menu }, | 1365 | { ID2P(LANG_REPLAYGAIN), replaygain_settings_menu }, |
1366 | { ID2P(LANG_CROSSFEED), crossfeed }, | ||
1357 | { ID2P(LANG_BEEP), beep }, | 1367 | { ID2P(LANG_BEEP), beep }, |
1358 | #endif | 1368 | #endif |
1359 | #ifdef HAVE_SPDIF_POWER | 1369 | #ifdef HAVE_SPDIF_POWER |