diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-12-07 23:07:07 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-12-07 23:07:07 +0000 |
commit | 2993ae69b5cfd95ddab595fcce9cc7637477d6a5 (patch) | |
tree | 1a9ba25c51db3d7313621da6dcf5bb4192cfea9d /apps/gui/statusbar.h | |
parent | ec32c08a357bde454c11a41375230461509f2fe2 (diff) | |
download | rockbox-2993ae69b5cfd95ddab595fcce9cc7637477d6a5.tar.gz rockbox-2993ae69b5cfd95ddab595fcce9cc7637477d6a5.zip |
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 'apps/gui/statusbar.h')
-rw-r--r-- | apps/gui/statusbar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/statusbar.h b/apps/gui/statusbar.h index 6b8e49a838..650b49d63b 100644 --- a/apps/gui/statusbar.h +++ b/apps/gui/statusbar.h | |||
@@ -102,7 +102,7 @@ extern void gui_statusbar_init(struct gui_statusbar * bar); | |||
102 | extern void gui_statusbar_draw(struct gui_statusbar * bar, bool force_redraw); | 102 | extern void gui_statusbar_draw(struct gui_statusbar * bar, bool force_redraw); |
103 | 103 | ||
104 | void gui_statusbar_icon_battery(struct screen * display, int percent); | 104 | void gui_statusbar_icon_battery(struct screen * display, int percent); |
105 | bool gui_statusbar_icon_volume(struct gui_statusbar * bar, int percent); | 105 | bool gui_statusbar_icon_volume(struct gui_statusbar * bar, int volume); |
106 | void gui_statusbar_icon_play_state(struct screen * display, int state); | 106 | void gui_statusbar_icon_play_state(struct screen * display, int state); |
107 | void gui_statusbar_icon_play_mode(struct screen * display, int mode); | 107 | void gui_statusbar_icon_play_mode(struct screen * display, int mode); |
108 | void gui_statusbar_icon_shuffle(struct screen * display); | 108 | void gui_statusbar_icon_shuffle(struct screen * display); |