From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: IO plugin and multiple poll descriptors Date: Tue, 17 May 2005 10:51:17 +0200 Message-ID: References: <1116173811.8886.55.camel@pegasus> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <1116173811.8886.55.camel@pegasus> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Marcel Holtmann Cc: ALSA Mailing List List-Id: alsa-devel@alsa-project.org At Sun, 15 May 2005 18:16:51 +0200, Marcel Holtmann wrote: > > Hi guys, > > for the IO plugin we can specify one descriptor for poll(). > > io.poll_fd = fd; > io.poll_events = POLLIN; > > I like to use more than one, because in the Bluetooth cases I always > have to deal with a signal and a separate media channel. Is it possible > to add support for that or do I must work around it. Currently, the alsa-lib handles only one poll_fd internally although API allows the multiple poll_fds. So, it's not quite easy to add the multiple fds... Takashi ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click