At Mon, 13 Oct 2003 10:53:24 -0700, Ryan Pavlik wrote: > > Hey, I'm currently pondering an ALSA interface for Ruby > (http://ruby-lang.org). Unfortunately, to do what I want, I need to > be able to have a file descriptor for select(). I've tried using the > fds returned by snd_seq_poll_descriptors(), but (not suprisingly) they > didn't work: select blocks indefinitely.
if i understand correctly, it should work. fd field in the returned pollfd struct is the file descriptor for select(). Takashi ------------------------------------------------------- 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