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 you all
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 (linus says
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
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 ?
select is generally
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
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 must give
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 for the
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
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, efds, tvp);
Is it possible to use
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 API
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().
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 as in
12 matches
Mail list logo