• Status Closed
  • Percent Complete
  • Task Type Patches
  • Category Settings
  • Assigned To No-one
  • Operating System
  • Severity Low
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by amiconn - 2005-12-06
Last edited by amiconn - 2005-12-07

FS#2806 - Simplified and uniform volume handling.

This patch changes the following things in volume handling:

- Removed the various sound scaling options again
- Volume setting in dB on all targets, with the

'natural' range defined by the respective DAC
 -78..+18 dB for archos Player
-115..+12 dB for archos Recorders and Ondios
 -84..  0 dB for iriver H1x0 and H3x0

- No artificial volume limiting. On the targets

which need this handling (archos Player, iriver),
the prescaler is used at lower volumes to
avoid clipping like before, but at high volumes,
prescaling is reduced again.

This has the following advantages:

- Less option clutter with less confusion
- More KISS and more uniform code across targets
- 0 dB volume mean line level on all platforms

- Sound settings always represent the actual


It was less-than-optimal before when the volume was
modified in the background, but the sound scaling patch
extended this behind-the-scenes mangling to treble and
bass, even in a possibly unpredictable way when ‘adjust
current’ was selected.

Closed by  amiconn
2005-12-07 23:10
Reason for closing:  Accepted

- Udated to current CVS - Changed default values for volume, making sound more

similar and saving one #ifdef in settings.c

- Limited the volume range on archos Recorders and

Ondios to -100..+12 dB, avoiding a 4-char string
in the status bar (-100 dB, being the minimum value,
is replaced by the mute symbol)


Available keyboard shortcuts


Task Details

Task Editing