summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-12-07 23:07:07 +0000
committerJens Arnold <amiconn@rockbox.org>2005-12-07 23:07:07 +0000
commit2993ae69b5cfd95ddab595fcce9cc7637477d6a5 (patch)
tree1a9ba25c51db3d7313621da6dcf5bb4192cfea9d /firmware/export
parentec32c08a357bde454c11a41375230461509f2fe2 (diff)
downloadrockbox-2993ae69b5cfd95ddab595fcce9cc7637477d6a5.zip
rockbox-2993ae69b5cfd95ddab595fcce9cc7637477d6a5.tar.gz
rockbox-2993ae69b5cfd95ddab595fcce9cc7637477d6a5.tar.bz2
rockbox-2993ae69b5cfd95ddab595fcce9cc7637477d6a5.tar.xz
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
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/sound.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/firmware/export/sound.h b/firmware/export/sound.h
index 3c7dec6..2c00206 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);