]> git.alsa-project.org Git - alsa-utils.git/commit
alsamixer: handle out-of-range volume values
authorClemens Ladisch <clemens@ladisch.de>
Mon, 22 Feb 2010 08:42:03 +0000 (09:42 +0100)
committerJaroslav Kysela <perex@perex.cz>
Wed, 12 Sep 2012 13:45:59 +0000 (15:45 +0200)
commit2b4c510534d8b5c4423cf58eb305dddc3854f86c
tree455d92b993cc1856c3b976499dd1598056578161
parent1bf724ea10eeb44441bba84ed468083b6a22bfe0
alsamixer: handle out-of-range volume values

Ensure that control volume values are in their allowed range; otherwise,
the displayed values could be outside the range 0..100 and mess up the
layout.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
alsamixer/mixer_display.c