From 2993ae69b5cfd95ddab595fcce9cc7637477d6a5 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Wed, 7 Dec 2005 23:07:07 +0000 Subject: Simplified and uniform volume handling: * Volume setting in dB on all targets, within the 'natural' range defined by the respective DAC (limited to -100..+12 dB for archos Recorders and Ondios in order to avoid 4 chars being displayed in the status bar). 0 dB means line level on all targets. * No more artificial volume limiting for Iriver and Player, settings always represent true values. Removed the various sound scaling options. * Bumped config version so save your settings. Also make sure to adjust the volume after loading a .cfg, then save the .cfg again, otherwise the volume will be out of range (a flaw in the .cfg loader). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8197 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/sound.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'firmware/export/sound.h') diff --git a/firmware/export/sound.h b/firmware/export/sound.h index 3c7dec62b0..2c002063db 100644 --- a/firmware/export/sound.h +++ b/firmware/export/sound.h @@ -26,9 +26,6 @@ enum { SOUND_BALANCE, SOUND_CHANNELS, SOUND_STEREO_WIDTH, -#ifdef HAVE_UDA1380 - SOUND_SCALING, -#endif #if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) SOUND_LOUDNESS, SOUND_AVC, @@ -59,15 +56,6 @@ enum { SOUND_CHAN_KARAOKE, }; -#ifdef HAVE_UDA1380 -enum { - SOUND_SCALE_VOLUME = 0, - SOUND_SCALE_BASS, - SOUND_SCALE_CURRENT, - SOUND_SCALE_OFF -}; -#endif - typedef void sound_set_type(int value); const char *sound_unit(int setting); @@ -84,9 +72,6 @@ void sound_set_bass(int value); void sound_set_treble(int value); void sound_set_channels(int value); void sound_set_stereo_width(int value); -#ifdef HAVE_UDA1380 -void sound_set_scaling(int value); -#endif #if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) void sound_set_loudness(int value); void sound_set_avc(int value); -- cgit v1.2.3