Re: pactl percentage bug fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux