Skip to contentSkip to conversation

Negative volume steps?

DISCUSSION Tanu Kaskinen 3 participants 4 messages May 26, 2011

lore
Share & tools
lore
#0 lore raw

Hi,

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?

I'm asking, because apparently there are such drivers, but Pulseaudio currently assumes that the volume steps are never negative.

Signature · 1 line
Tanu
#1 lore raw
Quoted 3 lines · Tanu Kaskinen

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.

Quoted 2 lines

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?

What exactly is the problem with PulseAudio?

Regards,
Clemens

#2 lore raw
Quoted 11 lines · Clemens Ladisch
Quoted 3 lines · Tanu Kaskinen

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.

Quoted 2 lines

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.

Quoted 1 line

What exactly is the problem with PulseAudio?

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

Signature · 1 line
Tanu
#3 lore raw

At Thu, 26 May 2011 15:45:32 +0300,

Quoted 9 lines · Tanu Kaskinen
Quoted 7 lines · Clemens Ladisch
Quoted 3 lines · Tanu Kaskinen

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.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

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.

A negative value is allowed although we are trying to avoid it usually. But some funky drivers may give such values.

Takashi