On Wed, Nov 08, 2006 at 02:12:09PM +0100, Clemens Ladisch wrote: > Fons Adriaensen wrote:
> > Basically what happens comes down to (ignoring error > > checking and timeouts): > > > > - The set of pollfd is poll()'ed until all are ready. > > Applications must not look at ALSA's pollfds, they must use > snd_pcm_poll_descriptors_revents() instead. Given that poll() is a system call and that the struct used by it is a system type and not one of ALSA's private ones, what is wrong with looking at it ? Is snd_pcm_poll_descriptors_revents() more than an accessor ? If it is, the name is a quite misleading. -- FA Lascia la spina, cogli la rosa.
