* Re: ALSA, select() question.
@ 2008-08-29 20:16 William Estrada
0 siblings, 0 replies; only message in thread
From: William Estrada @ 2008-08-29 20:16 UTC (permalink / raw)
To: alsa-devel
Jaroslav,
I got you Email address from
http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg09605.html.
<http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg09605.html>
I am trying to write a C program that simply reads from a ALSA device
and then writes back to it.
The program work with one major problem, there is a 4.1 second delay
between the read and the write.
This delay is caused by the select() not returning at the right time. In
you post you said to use:
> Yes, but you have to create revents for snd_seq_poll_descriptors_revents()
> to get the right event then. Don't use values from select() directly.
>
> Jaroslav
>
Do you have some sample code that I could look at so that I could fix
my problem?
--
William Estrada
MrUmunhum@popdial.com
Mt-Umunhum-Wireless.net ( http://Mt-Umunhum-Wireless.net )
Ymessenger: MrUmunhum
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-08-29 20:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-29 20:16 ALSA, select() question William Estrada
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox