summaryrefslogtreecommitdiff
path: root/apps/sound_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/sound_menu.c')
-rw-r--r--apps/sound_menu.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/apps/sound_menu.c b/apps/sound_menu.c
index de5b8c0a8c..6e5b74bfa3 100644
--- a/apps/sound_menu.c
+++ b/apps/sound_menu.c
@@ -385,19 +385,20 @@ static bool chanconf(void)
385{ 385{
386 static const struct opt_items names[] = { 386 static const struct opt_items names[] = {
387 { STR(LANG_CHANNEL_STEREO) }, 387 { STR(LANG_CHANNEL_STEREO) },
388#ifdef HAVE_LCD_CHARCELLS
389 { STR(LANG_CHANNEL_STEREO_NARROW_PLAYER) },
390#else
391 { STR(LANG_CHANNEL_STEREO_NARROW_RECORDER) },
392#endif
393 { STR(LANG_CHANNEL_MONO) }, 388 { STR(LANG_CHANNEL_MONO) },
389 { STR(LANG_CHANNEL_CUSTOM) },
394 { STR(LANG_CHANNEL_LEFT) }, 390 { STR(LANG_CHANNEL_LEFT) },
395 { STR(LANG_CHANNEL_RIGHT) }, 391 { STR(LANG_CHANNEL_RIGHT) },
396 { STR(LANG_CHANNEL_KARAOKE) }, 392 { STR(LANG_CHANNEL_KARAOKE) }
397 { STR(LANG_CHANNEL_STEREO_WIDE) }
398 }; 393 };
399 return set_option(str(LANG_CHANNEL), &global_settings.channel_config, INT, 394 return set_option(str(LANG_CHANNEL), &global_settings.channel_config, INT,
400 names, 7, set_chanconf ); 395 names, 6, set_chanconf );
396}
397
398static bool stereo_width(void)
399{
400 return set_sound(str(LANG_STEREO_WIDTH), &global_settings.stereo_width,
401 SOUND_STEREO_WIDTH);
401} 402}
402 403
403bool sound_menu(void) 404bool sound_menu(void)
@@ -410,6 +411,7 @@ bool sound_menu(void)
410 { ID2P(LANG_TREBLE), treble }, 411 { ID2P(LANG_TREBLE), treble },
411 { ID2P(LANG_BALANCE), balance }, 412 { ID2P(LANG_BALANCE), balance },
412 { ID2P(LANG_CHANNEL_MENU), chanconf }, 413 { ID2P(LANG_CHANNEL_MENU), chanconf },
414 { ID2P(LANG_STEREO_WIDTH), stereo_width },
413#if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F) 415#if (CONFIG_HWCODEC == MAS3587F) || (CONFIG_HWCODEC == MAS3539F)
414 { ID2P(LANG_LOUDNESS), loudness }, 416 { ID2P(LANG_LOUDNESS), loudness },
415 { ID2P(LANG_AUTOVOL), avc }, 417 { ID2P(LANG_AUTOVOL), avc },