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:[EMAIL PROTECTED]
IRCAM 1 place Stravinsky 75004 Paris FRANCE





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to