Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tisserand Patrice <Patrice.Tisserand@ircam.fr>
To: alsa-devel@lists.sourceforge.net
Subject: Is this a bug?
Date: Mon, 15 Jul 2002 15:57:35 +0200	[thread overview]
Message-ID: <3D32D4CF.13ED6394@ircam.fr> (raw)

Hi,

I wasn't enable to get poll descriptors for a sequencer opened for
output only,
so I checked alsa-lib/seq/seq.c and found on line 320 in function
snd_seq_poll_descriptors:

if ((events & POLLOUT) && space >= 1) {
  assert(seq->streams & SND_SEQ_OPEN_INPUT);
  revents |= POLLOUT|POLLERR;
 }

Shouldn't it read: assert(seq->streams & SND_SEQ_OPEN_OUTPUT); ?

Regards,

--
Patrice Tisserand --- email:mailto:Patrice.Tisserand@ircam.fr
IRCAM 1 place Stravinsky 75004 Paris FRANCE





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

             reply	other threads:[~2002-07-15 13:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-15 13:57 Tisserand Patrice [this message]
2002-07-15 14:08 ` Is this a bug? Takashi Iwai

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=3D32D4CF.13ED6394@ircam.fr \
    --to=patrice.tisserand@ircam.fr \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox