]> git.alsa-project.org Git - alsa-lib.git/commit
simple mixer: fix calculation of control range
authorClemens Ladisch <clemens@ladisch.de>
Mon, 12 Nov 2007 07:50:08 +0000 (08:50 +0100)
committerClemens Ladisch <clemens@ladisch.de>
Mon, 12 Nov 2007 07:50:08 +0000 (08:50 +0100)
commit7b51f627326569c38e85af224de21be36cb6562b
tree290d89a414f575b22807020fb155ce313c91d86c
parent15e936e27710130239a572d394bc66a7fad5ac50
simple mixer: fix calculation of control range

When calculating the value range of a control, the variables cannot be
initialized with zero because this would prevent the minimum from having
a value above zero or the maximum from having a value below zero.
src/mixer/simple_none.c