[pulseaudio-discuss] pactl percentage bug fix

Patrick May dusthillresident at gmail.com
Sun Jun 5 00:51:55 UTC 2022


I tested it with

pactl -- set-sink-volume 0 0db

and it sets the volume to 100%. So the ability to specify absolute 
decibel values is only useful if you like blasting stuff at greater than 
or equal to 100% volume

On 04/06/2022 08:48, Sean Greenslade wrote:

> While debugging, I did notice another issue that I was uncertain of how
> to solve. The detection of absolute values vs. relative values is based
> on the presence of a plus or minus at the start of the value. This is
> fine for everything except decibels, since absolute decibel values will
> often be negative numbers. The way the code sits now, it's impossible to
> pass an absolute negative decibel value. Probably not a huge deal, but
> it seemed worth pointing out.
> 
> --Sean
> 


More information about the pulseaudio-discuss mailing list