alsa-utils/amixer
Jaroslav Kysela 361734165e amixer: improve the raw percentual volume rounding
In commit "ae9ddeb63443cc2c46e0f0b915466cca0f800372" the rint() was
changed to ceil(). Revert it back. The rint() rounding is more precise
for most cases.

Also, handle the special case where the percentual value is greather
then zero. Set the min + 1 value in this case.

At last, fix the return value in convert_prange() when range is zero.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-06-05 17:01:04 +02:00
..
amixer.1 Several formatting fixes for manpages. 2013-05-16 10:38:13 +02:00
amixer.c amixer: improve the raw percentual volume rounding 2020-06-05 17:01:04 +02:00
amixer.h Change FSF address (Franklin Street) 2017-11-14 14:28:53 +01:00
go amixer/alsamixer - updated go scripts for debugging 2007-07-11 10:12:24 +02:00
Makefile.am amixer: define _GNU_SOURCE to get exp10 2019-04-06 08:58:49 +02:00