[linux-audio-dev] OSS will be back (was Re: alsa, oss , efficiency?)

Fons Adriaensen fons.adriaensen at skynet.be
Wed Nov 8 13:24:30 UTC 2006

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. 


Lascia la spina, cogli la rosa.

More information about the Linux-audio-dev mailing list