On Tue, 21 Apr 2009, Nicola Mfb wrote: > 2009/4/21 Jaroslav Kysela <perex@xxxxxxxx>: >> On Tue, 21 Apr 2009, Nicola Mfb wrote: >> >>> 2009/4/20 Jaroslav Kysela <perex@xxxxxxxx>: >>>> >>>> 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#gfc99365835bb429cac8c994fa56a42d7 > 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. I added more notes about events mangling there. Thanks. Jaroslav ----- Jaroslav Kysela <perex@xxxxxxxx> Linux Kernel Sound Maintainer ALSA Project, Red Hat, Inc. _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel