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

From: Fons Adriaensen <fons.adriaensen@email-addr-hidden>
Date: Wed Nov 08 2006 - 15:24:30 EET

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.
Received on Wed Nov 8 16:15:03 2006

This archive was generated by hypermail 2.1.8 : Mon Nov 13 2006 - 12:19:29 EET