dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: Simplified and uniform volume handling - asking for opinions

Re: Simplified and uniform volume handling - asking for opinions

From: Jens Arnold <>
Date: Wed, 07 Dec 2005 08:24:19 +0100

On 06.12.2005, [IDC]Dragon wrote:

>> Now I am asking for opinions/ suggestions on this. I would
>> really like to commit this...

> I like it, and don't think dB is too technical for end users.
> Even my car stereo displays in dB when I turn the knob.

> I think it's enough to go down to -99dB, to avoid a 3 digit
> display.

I've limited the volume range to -100..+12 dB in my latest patch
now; this also avoids 4 chars in the status bar because the
lowest value is replaced by the mute symbol.

> The side effect free changing gets my vote, too. If we get
> complaints about clipping, perhaps we can calculate if the
> current setting could clip, and mark that condition.

Another benefit of switching to dB for volume is that it makes
it easy to add clipping prevention at the app level, without
needing knowledge about the specific DAC. We just need to make
sure that

current_volume + MAX(bass_boost, treble_boost) <= max_volume

by reducing either current_volume (not good; old system for
player & iriver) or bass_boost and treble_boost (better).

Making this happen at the app layer also makes it easier to
indicate what's happening.

Regards, Jens
Received on 2005-12-07

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy