Alex Lau wrote:

>I had done some search on the internet about using select(2) with
>alsa and found the function snd_pcm_file_descriptor(
>*snd_pcm_handle_t). However when I try to test it with a simple
>program, I got compliation error of fundefined reference. I also try
>to lokk it up in the library documentation buit from the source code
>but unable to find such function.
>
>Can someone direct me to a suitable document about this function?

you seem to be looking for

snd_pcm_poll_descriptors_count (...) and
snd_pcm_poll_descriptors (...)

hth,

tim

ps: from my experience, poll(2) is a better replacement for select(2).


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to