14 Dec
2012
14 Dec
'12
7:48 a.m.
On Thu, Dec 13, 2012 at 7:43 PM, Devin Anderson surfacepatterns@gmail.com wrote:
I have an idea that I'd like to explore, but it's dependent on the idea that `snd_pcm_poll_descriptors()` needs to be called before every `poll()` call, and I'm not sure if that's a reasonable expectation. Is `snd_pcm_poll_descriptors()` a function you can call once, and then depend on working through multiple `poll()` calls, or is it required that `snd_pcm_poll_descriptors()` be called for every call to refresh the descriptors and the events they should be polled for?
Scratch that. I just read pcm.c in the tests folder in alsa-lib, which calls `snd_pcm_poll_descriptors()` only once, and then polls thereafter. Oh well.
--
Devin Anderson
surfacepatterns (at) gmail (dot) com
blog - http://surfacepatterns.blogspot.com/
psinsights - http://psinsights.googlecode.com/
synthclone - http://synthclone.googlecode.com/