Re: ALSA, select() question.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jaroslav,

  I got you Email address from
http://www.mail-archive.com/alsa-devel@xxxxxxxxxxxxxxxxxxxxx/msg09605.html.
<http://www.mail-archive.com/alsa-devel@xxxxxxxxxxxxxxxxxxxxx/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@xxxxxxxxxxx
Mt-Umunhum-Wireless.net ( http://Mt-Umunhum-Wireless.net )
Ymessenger: MrUmunhum



_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux