From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Is this a bug? Date: Mon, 15 Jul 2002 16:08:36 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <3D32D4CF.13ED6394@ircam.fr> Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <3D32D4CF.13ED6394@ircam.fr> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Tisserand Patrice Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Mon, 15 Jul 2002 15:57:35 +0200, Tisserand Patrice wrote: > > 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); ? yep, an obvious typo. now fixed on cvs. thanks, Takashi ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf