diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2002-08-14 21:30:06 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2002-08-14 21:30:06 +0000 |
commit | b3bda03db01eb5ffb2c087258c777ceb772cdc25 (patch) | |
tree | a9eeab42d302a115c24dba21c8bad084e96f9308 /apps/sound_menu.c | |
parent | bfe55a4a09a6e7dfc04df464ccec6ce427ddbdc1 (diff) |
Added Balance setting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1744 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/sound_menu.c')
-rw-r--r-- | apps/sound_menu.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/sound_menu.c b/apps/sound_menu.c index 70ecb8708d..1b44859a2b 100644 --- a/apps/sound_menu.c +++ b/apps/sound_menu.c @@ -105,6 +105,10 @@ void set_sound(char* string, break; } mpeg_sound_set(setting, *variable); +#ifdef HAVE_MAS3507D + if(setting == SOUND_BALANCE) + mpeg_sound_set(SOUND_VOLUME, global_settings.volume); +#endif } lcd_stop_scroll(); } @@ -114,6 +118,11 @@ static void volume(void) set_sound("Volume", &global_settings.volume, SOUND_VOLUME); } +static void balance(void) +{ + set_sound("Balance", &global_settings.balance, SOUND_BALANCE); +} + static void bass(void) { set_sound("Bass", &global_settings.bass, SOUND_BASS); @@ -150,6 +159,7 @@ void sound_menu(void) { "Volume", volume }, { "Bass", bass }, { "Treble", treble }, + { "Balance", balance }, #ifdef HAVE_MAS3587F { "Loudness", loudness }, { "Bass Boost", bass_boost }, |