From: William Estrada <MrUmunhum@popdial.com>
To: alsa-devel@alsa-project.org
Subject: Re: ALSA, select() question.
Date: Fri, 29 Aug 2008 13:16:24 -0700 [thread overview]
Message-ID: <48B85918.4070404@popdial.com> (raw)
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
reply other threads:[~2008-08-29 20:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48B85918.4070404@popdial.com \
--to=mrumunhum@popdial.com \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox