Hi, On Tue, Oct 14, 2003 at 11:30:31AM -0700, Ryan Pavlik wrote: > > I'm using the "seqdemo.c" example from the HOWTO as a testbase. > The main bit of code looks like this: > > while (1) { > FD_ZERO(&rfds); > FD_SET(pfd[0].fd, &rfds); > > if (select(npfd, &rfds, NULL, NULL, NULL)) { > midi_action(seq_handle); > } > }
Silly question, but is 'npfd' the file descriptor you are polling + 1? -- Ryan Underwood, <nemesis at icequake.net>, icq=10317253 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel