Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #97886
| From | Laura Creighton <lac@openend.se> |
|---|---|
| Subject | Re: select.poll and ppoll |
| References | <56287672$0$11117$c3e8da3@news.astraweb.com> |
| Date | 2015-10-22 11:07 +0200 |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.87.1445504881.878.python-list@python.org> (permalink) |
In a message of Thu, 22 Oct 2015 16:38:52 +1100, "Steven D'Aprano" writes: >Using Python 2.6, don't hate me. >Technically, *I* don't want this, it's one of my work-colleagues. He says: > >"My high-level goal is to run a callback function whenever the alsa mixer >level changes. The C alsa API provides snd_mixer_elem_set_callback, but the >Python API (import alsaaudio) seems to need me to get poll(2) descriptors" >-- >Steve > >-- >https://mail.python.org/mailman/listinfo/python-list Do you need alsa-mixer or would pulse-audio work for you? Would this: https://github.com/mk-fg/pulseaudio-mixer-cli do the job? Laura (alsa-mixer hater)
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
select.poll and ppoll Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-10-22 16:38 +1100
Re: select.poll and ppoll Paul Rubin <no.email@nospam.invalid> - 2015-10-22 00:30 -0700
Re: select.poll and ppoll Laura Creighton <lac@openend.se> - 2015-10-22 11:07 +0200
Re: select.poll and ppoll Marko Rauhamaa <marko@pacujo.net> - 2015-10-22 14:18 +0300
Re: select.poll and ppoll Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-10-25 22:30 +1100
Re: select.poll and ppoll Marko Rauhamaa <marko@pacujo.net> - 2015-10-25 21:21 +0200
Re: select.poll and ppoll Marko Rauhamaa <marko@pacujo.net> - 2015-10-25 21:23 +0200
csiph-web