pulseaudio-ctl
pulseaudio-ctl copied to clipboard
Calculate the expression of the upper threshold vol
When setting the UPPER_THRESHOLD
and using the notification's progress hint. UPPER_THRESHOLD_AWARE_VOL
should not exceed 100. But it does, as the expression does not get caluculated, resulting in such a flag --hint=int:progress:120*100/150
which is equivalent to --hint=int:progress:120
.