[alsa-devel] Negative volume steps?

Tanu Kaskinen tanuk at iki.fi
Thu May 26 14:45:32 CEST 2011


On Thu, 2011-05-26 at 14:25 +0200, Clemens Ladisch wrote:
> Tanu Kaskinen wrote:
> > If a driver claims that the lowest volume step (integer step, not dB) of
> > a volume element is -126 and the highest step is 0, is the driver
> > broken?
> 
> No.
> 
> > I'm asking, because apparently there are such drivers, but Pulseaudio
> > currently assumes that the volume steps are never negative.
> 
> The maximum is higher than the minimum, so how would a step be negative?

By "step" I mean the step index, ie. the volume value, not the
difference between two volumes.

> What exactly is the problem with PulseAudio?

Too many assumptions. Thanks for your answer, Pulseaudio needs fixing.

-- 
Tanu



More information about the Alsa-devel mailing list