[alsa-devel] Asterisk 1.4.17 and alsa 1.0.19 dmix plugin problem.

Nicola Mfb nicola.mfb at gmail.com
Tue Apr 21 14:09:23 CEST 2009


2009/4/21 Jaroslav Kysela <perex at perex.cz>:
> On Tue, 21 Apr 2009, Nicola Mfb wrote:
>
>> 2009/4/20 Jaroslav Kysela <perex at 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#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.

Regards

     Nicola


More information about the Alsa-devel mailing list