2009/4/21 Jaroslav Kysela perex@perex.cz:
On Tue, 21 Apr 2009, Nicola Mfb wrote:
2009/4/20 Jaroslav Kysela perex@perex.cz:
On Mon, 20 Apr 2009, Nicola Mfb wrote:
[...]
First level documentation on www.alsa-project.org says that you may use select or poll as you need, should be this corrected?
Could you point me where is documentation unclear exactly?
For example at: http://www.alsa-project.org/alsa-doc/alsa-lib/pcm.html in "event waiting routines" you see "snd_pcm_poll_descriptors can be used to get a file descriptor to poll or select on".
And at: http://www.alsa-project.org/alsa-doc/alsa-lib/group___p_c_m.html#gfc99365835... the sentence "You can use output from this function as arguments for the select() syscall, too." may be confusing. At first look reader may suppose that bogus results affects only poll.
Regards
Nicola