From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcel Holtmann Subject: Re: alsa-lib plugin devel Date: Mon, 24 Jan 2005 18:56:59 +0100 Message-ID: <1106589419.8058.83.camel@pegasus> References: <41F522DE.30702@xmission.com> <1106585584.8058.61.camel@pegasus> <1106587386.8058.69.camel@pegasus> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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: Takashi Iwai Cc: Brad Midgley , Clemens Ladisch , alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org Hi Takashi, > > > One of the simplest solutions is to add a field to PCM definition so > > > that the defined PCM is marked to be listed. Such as > > > > > > pcm.aiptek { > > > type a2dp > > > bdaddr "00:0B:0D:50:12:10" > > > listed yes > > > } > > > > > > (Well "listed" isn't a good word at all. Please suggest a better > > > one.) > > > > is this a config option that the ALSA core parses or must we do it by > > ourself. However in both cases I think that the plugin itself will > > decide if its devices are listed or not. > > Agreed, I/O plugin can set itself as the list candidate. I think this is the best way to keep the configuration simple, because the I/O plugins always deal with real hardware. > > In the case of a2dp the option > > "type a2dp" should result in asking the plugin if its devices (or maybe > > this device) are listed or not. An additional option looks for me like > > over-configuration. > > Well, I think it's useful to have this as an option, too. > If you have your own favorite configuration, you can add it to the > list of supported devices. > The attribute should be off as default, of course. I don't need it, but if you think this useful, why not add something like that. Regards Marcel ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl