From 59eb461f8255b636800c120d7640d10d6a15e175 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sun, 6 Feb 2005 13:47:21 +0000 Subject: Player: volume/balance/treble/bass handling improved. (1) Linear mapping of percent to dB for volume, like on all other units. (2) Bug fix: Limit the prescale compensation to +18 dB final volume. (3) Architectural fix: app code doesn't need to additionally set volume in order to activate a changed balance setting. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5817 a1c6a512-1295-4272-9138-f99709370657 --- apps/sound_menu.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'apps/sound_menu.c') diff --git a/apps/sound_menu.c b/apps/sound_menu.c index 33bb80faa1..f08ee35525 100644 --- a/apps/sound_menu.c +++ b/apps/sound_menu.c @@ -135,13 +135,8 @@ bool set_sound(const char* string, return true; break; } - if (changed) { + if (changed) mpeg_sound_set(setting, *variable); -#if CONFIG_HWCODEC == MAS3507D - if(setting == SOUND_BALANCE) - mpeg_sound_set(SOUND_VOLUME, global_settings.volume); -#endif - } } lcd_stop_scroll(); return false; -- cgit v1.2.3