On Thu, Mar 25, 2004 at 03:00:58PM +0100, Takashi Iwai wrote:
> > Why is select deprecated?
>
> because select is just a wrapper of poll in fact (on linux)?
So? There are a few other operating systems out there, and select() is
very portable.
(select isn't deprecated; it's simply not Linus's AP
On Thu, 25 Mar 2004, James Courtier-Dutton wrote:
> Jaroslav Kysela wrote:
> > On Wed, 24 Mar 2004, Paul Davis wrote:
> >
> >
> >>>open pcm, and get a handle.
> >>>
> >>>snd_pcm_poll_descriptors(handle, &pfd, err);
> >>>
> >>>Get a poll file scriptor in pfd.
> >>>
> >>>select(nfds, rfds, wfds, e
Jaroslav Kysela wrote:
On Wed, 24 Mar 2004, Paul Davis wrote:
open pcm, and get a handle.
snd_pcm_poll_descriptors(handle, &pfd, err);
Get a poll file scriptor in pfd.
select(nfds, rfds, wfds, efds, tvp);
Is it possible to use this call with alsa ?
select is generally deprecated in linux (lin
On Thu, 25 Mar 2004, Paul Davis wrote:
> >> select is generally deprecated in linux (linus says so!). but you can
> >> use the same pfds in select as in poll (select is implemented in the
> >> kernel using the poll code). the problem is interpreting the results
> >> you get back (as noted recently
>> select is generally deprecated in linux (linus says so!). but you can
>> use the same pfds in select as in poll (select is implemented in the
>> kernel using the poll code). the problem is interpreting the results
>> you get back (as noted recently for the dmix plugin).
>
>Nope, the application
> > > >open pcm, and get a handle.
> > > >
> > > >snd_pcm_poll_descriptors(handle, &pfd, err);
> > > >
> > > >Get a poll file scriptor in pfd.
> > > >
> > > >select(nfds, rfds, wfds, efds, tvp);
> > > >
> > > >Is it possible to use this call with alsa ?
> > >
> > > select is generally deprecated i
At Thu, 25 Mar 2004 11:25:56 +0100,
Martijn Sipkema wrote:
>
> > >open pcm, and get a handle.
> > >
> > >snd_pcm_poll_descriptors(handle, &pfd, err);
> > >
> > >Get a poll file scriptor in pfd.
> > >
> > >select(nfds, rfds, wfds, efds, tvp);
> > >
> > >Is it possible to use this call with alsa ?
>
>> >open pcm, and get a handle.
>> >
>> >snd_pcm_poll_descriptors(handle, &pfd, err);
>> >
>> >Get a poll file scriptor in pfd.
>> >
>> >select(nfds, rfds, wfds, efds, tvp);
>> >
>> >Is it possible to use this call with alsa ?
>>
>> select is generally deprecated in linux (linus says so!). but you
> >open pcm, and get a handle.
> >
> >snd_pcm_poll_descriptors(handle, &pfd, err);
> >
> >Get a poll file scriptor in pfd.
> >
> >select(nfds, rfds, wfds, efds, tvp);
> >
> >Is it possible to use this call with alsa ?
>
> select is generally deprecated in linux (linus says so!). but you can
> use
On Wed, 24 Mar 2004, Paul Davis wrote:
> >open pcm, and get a handle.
> >
> >snd_pcm_poll_descriptors(handle, &pfd, err);
> >
> >Get a poll file scriptor in pfd.
> >
> >select(nfds, rfds, wfds, efds, tvp);
> >
> >Is it possible to use this call with alsa ?
>
> select is generally deprecated in li
On Thu, 25 Mar 2004, James Courtier-Dutton wrote:
> open pcm, and get a handle.
>
> snd_pcm_poll_descriptors(handle, &pfd, err);
>
> Get a poll file scriptor in pfd.
>
> select(nfds, rfds, wfds, efds, tvp);
>
> Is it possible to use this call with alsa ?
Yes, snd_pcm_poll_descriptors() gives
>open pcm, and get a handle.
>
>snd_pcm_poll_descriptors(handle, &pfd, err);
>
>Get a poll file scriptor in pfd.
>
>select(nfds, rfds, wfds, efds, tvp);
>
>Is it possible to use this call with alsa ?
select is generally deprecated in linux (linus says so!). but you can
use the same pfds in select
open pcm, and get a handle.
snd_pcm_poll_descriptors(handle, &pfd, err);
Get a poll file scriptor in pfd.
select(nfds, rfds, wfds, efds, tvp);
Is it possible to use this call with alsa ?
It seems that the select functions as expected with the descriptor so
that we can do a snd_pcm_writei().
I
13 matches
Mail list logo