All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Courtier-Dutton <James@superbug.demon.co.uk>
To: alsa-devel <alsa-devel@lists.sourceforge.net>
Subject: problems using select() on alsa pcm.
Date: Thu, 25 Mar 2004 03:39:34 +0000	[thread overview]
Message-ID: <40625476.9010801@superbug.demon.co.uk> (raw)

open pcm, and get a handle.

snd_pcm_poll_descriptors(handle, &pfd, err);

Get a poll file scriptor in pfd.

select(nfds, rfds, wfds, efds, tvp);

Is it possible to use this call with alsa ?
It seems that the select functions as expected with the descriptor so 
that we can do a snd_pcm_writei().

It seems that the select does not function so that we can do a 
snd_pcm_readi().

Are there any documents describing how one can get the read (rfds) working?

Cheers
James



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

             reply	other threads:[~2004-03-25  3:39 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-25  3:39 James Courtier-Dutton [this message]
2004-03-25  4:08 ` problems using select() on alsa pcm Paul Davis
2004-03-25  9:38   ` Jaroslav Kysela
2004-03-25 14:44     ` Paul Davis
2004-03-25 15:05       ` Jaroslav Kysela
2004-03-25 15:13     ` James Courtier-Dutton
2004-03-25 15:38       ` Jaroslav Kysela
2004-03-25 10:25   ` Martijn Sipkema
2004-03-25 13:19     ` Paul Davis
2004-03-25 14:00     ` Takashi Iwai
2004-03-25 14:35       ` Martijn Sipkema
2004-03-25 21:44       ` Glenn Maynard
2004-03-25  9:36 ` Jaroslav Kysela

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=40625476.9010801@superbug.demon.co.uk \
    --to=james@superbug.demon.co.uk \
    --cc=alsa-devel@lists.sourceforge.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.