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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/sound_menu.c b/apps/sound_menu.c
index 5944c46100..2e45f76621 100644
--- a/apps/sound_menu.c
+++ b/apps/sound_menu.c
@@ -112,6 +112,7 @@ static bool balance(void)
112 SOUND_BALANCE); 112 SOUND_BALANCE);
113} 113}
114 114
115#ifndef HAVE_TLV320
115static bool bass(void) 116static bool bass(void)
116{ 117{
117 return set_sound(str(LANG_BASS), &global_settings.bass, SOUND_BASS); 118 return set_sound(str(LANG_BASS), &global_settings.bass, SOUND_BASS);
@@ -121,6 +122,7 @@ static bool treble(void)
121{ 122{
122 return set_sound(str(LANG_TREBLE), &global_settings.treble, SOUND_TREBLE); 123 return set_sound(str(LANG_TREBLE), &global_settings.treble, SOUND_TREBLE);
123} 124}
125#endif
124 126
125#if CONFIG_CODEC == SWCODEC 127#if CONFIG_CODEC == SWCODEC
126static bool crossfeed(void) 128static bool crossfeed(void)
@@ -404,8 +406,10 @@ bool sound_menu(void)
404 bool result; 406 bool result;
405 static const struct menu_item items[] = { 407 static const struct menu_item items[] = {
406 { ID2P(LANG_VOLUME), volume }, 408 { ID2P(LANG_VOLUME), volume },
409#ifndef HAVE_TLV320
407 { ID2P(LANG_BASS), bass }, 410 { ID2P(LANG_BASS), bass },
408 { ID2P(LANG_TREBLE), treble }, 411 { ID2P(LANG_TREBLE), treble },
412#endif
409 { ID2P(LANG_BALANCE), balance }, 413 { ID2P(LANG_BALANCE), balance },
410 { ID2P(LANG_CHANNEL_MENU), chanconf }, 414 { ID2P(LANG_CHANNEL_MENU), chanconf },
411 { ID2P(LANG_STEREO_WIDTH), stereo_width }, 415 { ID2P(LANG_STEREO_WIDTH), stereo_width },