]> git.alsa-project.org Git - alsa-python.git/commit
hcontrol: add poll_fds property
authorClemens Ladisch <clemens@ladisch.de>
Mon, 12 Oct 2009 06:47:59 +0000 (08:47 +0200)
committerClemens Ladisch <clemens@ladisch.de>
Mon, 12 Oct 2009 06:47:59 +0000 (08:47 +0200)
commita3e9a6aff01b40f25e944450e2efcd4b83cc7b64
tree5c04bee35a6eb36436afe5997ee18a5cde59be47
parent866af7359cfbbaa6215190565dcd58222ca441d1
hcontrol: add poll_fds property

The existing register_poll function works with Python's select.poll
object, but not with the main loop of GUI toolkits that use their own
event source implementation.  Therefore, add a property to get the raw
file handles.

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