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 hints.
See to alsa-oss/alsa/alsa-oss.c - select() wrapper, but
man select and man poll will help you also.
Jaroslav
-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs
-------------------------------------------------------
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
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel