]> git.alsa-project.org Git - alsa-python.git/commit
alsa-python mixer: add poll_fds property
authorJaroslav Kysela <perex@perex.cz>
Wed, 22 Dec 2010 07:13:21 +0000 (08:13 +0100)
committerJaroslav Kysela <perex@perex.cz>
Wed, 22 Dec 2010 07:13:21 +0000 (08:13 +0100)
commitbe65a15ded5055ba69e0b619c66f977eb529e794
treea0a33475f6b5f84c1cbcfc3ccb4c29f15083c836
parentcf1395da1fe8734ae4a33bca970547a176a1e2fd
alsa-python mixer: add poll_fds property

This patch adds poll_fds property to pyalsa alsamixer. register_poll works
with Python's select.poll but not with main loop of GUI toolkits. This is
already done for hcontrol by Clemens Ladisch, patch is based on his patch.
Other patch fixes memory leak as reported by him.

From: Milan Nikolic <gen2brain@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
pyalsa/alsamixer.c
utils/remove-user-ctl.py