]> git.alsa-project.org Git - alsa-utils.git/commit
alsactl: simplify and fix item type detection
authorClemens Ladisch <clemens@ladisch.de>
Fri, 6 Jun 2008 07:02:55 +0000 (09:02 +0200)
committerClemens Ladisch <clemens@ladisch.de>
Fri, 6 Jun 2008 07:02:55 +0000 (09:02 +0200)
commit8fc2c39dc81f1112a669ca1ad9985d9c0bc92d75
treeee4609cf9093330170c3899e6a8907f23ad4efaa
parent71f78e3f0c405b858857d4397e6bf3ec3beb8cda
alsactl: simplify and fix item type detection

Use snd_ctl_elem_type_name() to detect the value of the type comment
instead of using hardcoded strings.

The types list now also includes the BYTES type (Debian bug 481515).

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