All of lore.kernel.org
 help / color / mirror / Atom feed
* problems using select() on alsa pcm.
@ 2004-03-25  3:39 James Courtier-Dutton
  2004-03-25  4:08 ` Paul Davis
  2004-03-25  9:36 ` Jaroslav Kysela
  0 siblings, 2 replies; 13+ messages in thread
From: James Courtier-Dutton @ 2004-03-25  3:39 UTC (permalink / raw)
  To: alsa-devel

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().

It seems that the select does not function so that we can do a 
snd_pcm_readi().

Are there any documents describing how one can get the read (rfds) working?

Cheers
James



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2004-03-25 21:44 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-25  3:39 problems using select() on alsa pcm James Courtier-Dutton
2004-03-25  4:08 ` Paul Davis
2004-03-25  9:38   ` Jaroslav Kysela
2004-03-25 14:44     ` Paul Davis
2004-03-25 15:05       ` Jaroslav Kysela
2004-03-25 15:13     ` James Courtier-Dutton
2004-03-25 15:38       ` Jaroslav Kysela
2004-03-25 10:25   ` Martijn Sipkema
2004-03-25 13:19     ` Paul Davis
2004-03-25 14:00     ` Takashi Iwai
2004-03-25 14:35       ` Martijn Sipkema
2004-03-25 21:44       ` Glenn Maynard
2004-03-25  9:36 ` Jaroslav Kysela

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.