]> git.alsa-project.org Git - alsa-python.git/commit
hcontrol: allow constructing Elem with numid
authorClemens Ladisch <clemens@ladisch.de>
Mon, 12 Oct 2009 06:48:46 +0000 (08:48 +0200)
committerClemens Ladisch <clemens@ladisch.de>
Mon, 12 Oct 2009 06:48:46 +0000 (08:48 +0200)
commit2910c22c50c968b1dcaf37a59e9a6c0f0ef3d53d
tree69105744f5f6c828c4730a8446f5500a11b28c7e
parenta3e9a6aff01b40f25e944450e2efcd4b83cc7b64
hcontrol: allow constructing Elem with numid

snd_hctl_find_elem has the (undocumented) requirement that the ID must
have all fields set.  Copy the necessary workaround from amixer.

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