* alsa-lib plugin devel
@ 2005-01-24 8:17 Brad Midgley
2005-01-24 8:36 ` Clemens Ladisch
2005-01-24 9:24 ` Jaroslav Kysela
0 siblings, 2 replies; 16+ messages in thread
From: Brad Midgley @ 2005-01-24 8:17 UTC (permalink / raw)
To: alsa-devel
Hi
I've started working on an alsa-lib plugin to send audio to a bluetooth
device (see http://bluetooth-alsa.sf.net)
I stubbed it out so I can see that it gets invoked when I address it
directly with
aplay -B 1000000 -D pcm.a2dp sound.wav
And I can see it is invoking the plugin code (just filled in with a
bunch of printf's). What I'm struggling with is how to make this driver
appear to clients that use alsa-lib. In the simplest case,
aplay --list-devices
Does not show my device in its list! So clients that look up alsa
devices will never see it.
my .asoundrc looks like:
pcm.a2dpplug {
type plug
slave { pcm "a2dp" }
}
pcm.a2dp {
type a2dp
bdaddr "00:08:F4:30:05:BB"
}
and I tried it with and without the first section. How do I get my
bluetooth device to show up in a device scan?
Brad
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 16+ messages in thread* Re: alsa-lib plugin devel 2005-01-24 8:17 alsa-lib plugin devel Brad Midgley @ 2005-01-24 8:36 ` Clemens Ladisch 2005-01-24 16:31 ` Brad Midgley 2005-01-24 9:24 ` Jaroslav Kysela 1 sibling, 1 reply; 16+ messages in thread From: Clemens Ladisch @ 2005-01-24 8:36 UTC (permalink / raw) To: Brad Midgley; +Cc: alsa-devel Brad Midgley wrote: > aplay -B 1000000 -D pcm.a2dp sound.wav > > What I'm struggling with is how to make this driver > appear to clients that use alsa-lib. In the simplest case, > > aplay --list-devices > > Does not show my device in its list! "aplay -l" shows only hardware devices, i.e., devices that can be accessed with the hw plugin. There is no simple enumeration function for plugin pcm's. HTH Clemens ------------------------------------------------------- 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 ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: alsa-lib plugin devel 2005-01-24 8:36 ` Clemens Ladisch @ 2005-01-24 16:31 ` Brad Midgley 2005-01-24 16:46 ` Takashi Iwai 0 siblings, 1 reply; 16+ messages in thread From: Brad Midgley @ 2005-01-24 16:31 UTC (permalink / raw) To: Clemens Ladisch, alsa-devel Hi None of the gui alsa-lib clients I've used allow for a freeform device name to be entered. Should we be telling linphone, xine, gnomemeeting, etc developers to allow a freeform device name? They currently just enumerate the (hw I guess) devices and make you choose from what they found. Can I get around this problem by using esd or arts? brad Clemens Ladisch wrote: > Brad Midgley wrote: > >> aplay -B 1000000 -D pcm.a2dp sound.wav >> >>What I'm struggling with is how to make this driver >>appear to clients that use alsa-lib. In the simplest case, >> >> aplay --list-devices >> >>Does not show my device in its list! > > > "aplay -l" shows only hardware devices, i.e., devices that can be > accessed with the hw plugin. > > There is no simple enumeration function for plugin pcm's. > > > HTH > Clemens > ------------------------------------------------------- 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 ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: alsa-lib plugin devel 2005-01-24 16:31 ` Brad Midgley @ 2005-01-24 16:46 ` Takashi Iwai 2005-01-24 16:49 ` Brad Midgley 2005-01-24 16:53 ` Marcel Holtmann 0 siblings, 2 replies; 16+ messages in thread From: Takashi Iwai @ 2005-01-24 16:46 UTC (permalink / raw) To: Brad Midgley; +Cc: Clemens Ladisch, alsa-devel At Mon, 24 Jan 2005 09:31:26 -0700, Brad Midgley wrote: > > Hi > > None of the gui alsa-lib clients I've used allow for a freeform device > name to be entered. Hmm, I thought many of them allow to a free text. > Should we be telling linphone, xine, gnomemeeting, > etc developers to allow a freeform device name? Yes. We can create a new API to list up the available PCMs. It will help applications, I guess. The problem is that plugins which aren't bound to drivers like btsco are hard to detect whether they really work in advance. Do we need a probe callback for such a plugin? Takashi ------------------------------------------------------- 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 ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: alsa-lib plugin devel 2005-01-24 16:46 ` Takashi Iwai @ 2005-01-24 16:49 ` Brad Midgley 2005-01-24 17:12 ` Takashi Iwai 2005-01-24 16:53 ` Marcel Holtmann 1 sibling, 1 reply; 16+ messages in thread From: Brad Midgley @ 2005-01-24 16:49 UTC (permalink / raw) To: Takashi Iwai; +Cc: Clemens Ladisch, alsa-devel Takashi, > We can create a new API to list up the available PCMs. > It will help applications, I guess. > > The problem is that plugins which aren't bound to drivers like btsco > are hard to detect whether they really work in advance. > Do we need a probe callback for such a plugin? I suppose there are problems listing things because the plugins behave differently. I don't fully understand the problem. But... it would be a big inconvenience for the user to be told to know the device name or go look it up in .asoundrc and/or /etc/asound.conf. The {linphone,xine,gnomemeeting} gui should be able to discover and list the plugin devices. Brad ------------------------------------------------------- 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 ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: alsa-lib plugin devel 2005-01-24 16:49 ` Brad Midgley @ 2005-01-24 17:12 ` Takashi Iwai 2005-01-24 17:25 ` Marcel Holtmann 0 siblings, 1 reply; 16+ messages in thread From: Takashi Iwai @ 2005-01-24 17:12 UTC (permalink / raw) To: Brad Midgley; +Cc: Clemens Ladisch, alsa-devel At Mon, 24 Jan 2005 09:49:49 -0700, Brad Midgley wrote: > > Takashi, > > > We can create a new API to list up the available PCMs. > > It will help applications, I guess. > > > > The problem is that plugins which aren't bound to drivers like btsco > > are hard to detect whether they really work in advance. > > Do we need a probe callback for such a plugin? > > I suppose there are problems listing things because the plugins behave > differently. I don't fully understand the problem. > > But... it would be a big inconvenience for the user to be told to know > the device name or go look it up in .asoundrc and/or /etc/asound.conf. > The {linphone,xine,gnomemeeting} gui should be able to discover and list > the plugin devices. I think putting marks in the PCM defintions is the easiest way. Another question about listing devices: shall we list up the entries like "front", "rear", etc? IMO, the function should list up only the basic PCMs. I.e. the default analog output and the SPDIF (or whatever additional outputs). Takashi ------------------------------------------------------- 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 ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: alsa-lib plugin devel 2005-01-24 17:12 ` Takashi Iwai @ 2005-01-24 17:25 ` Marcel Holtmann 0 siblings, 0 replies; 16+ messages in thread From: Marcel Holtmann @ 2005-01-24 17:25 UTC (permalink / raw) To: Takashi Iwai; +Cc: Brad Midgley, Clemens Ladisch, alsa-devel Hi Takashi, > > > We can create a new API to list up the available PCMs. > > > It will help applications, I guess. > > > > > > The problem is that plugins which aren't bound to drivers like btsco > > > are hard to detect whether they really work in advance. > > > Do we need a probe callback for such a plugin? > > > > I suppose there are problems listing things because the plugins behave > > differently. I don't fully understand the problem. > > > > But... it would be a big inconvenience for the user to be told to know > > the device name or go look it up in .asoundrc and/or /etc/asound.conf. > > The {linphone,xine,gnomemeeting} gui should be able to discover and list > > the plugin devices. > > I think putting marks in the PCM defintions is the easiest way. > > Another question about listing devices: shall we list up the entries > like "front", "rear", etc? > > IMO, the function should list up only the basic PCMs. I.e. the > default analog output and the SPDIF (or whatever additional outputs). from the Bluetooth standpoint we need only to list the input and outputs, because there is nothing more defined. Neither for SCO or for the A2DP devices. 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 ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: alsa-lib plugin devel 2005-01-24 16:46 ` Takashi Iwai 2005-01-24 16:49 ` Brad Midgley @ 2005-01-24 16:53 ` Marcel Holtmann 2005-01-24 17:09 ` Takashi Iwai 1 sibling, 1 reply; 16+ messages in thread From: Marcel Holtmann @ 2005-01-24 16:53 UTC (permalink / raw) To: Takashi Iwai; +Cc: Brad Midgley, Clemens Ladisch, alsa-devel Hi Takashi, > The problem is that plugins which aren't bound to drivers like btsco > are hard to detect whether they really work in advance. > Do we need a probe callback for such a plugin? I don't think that this is needed. If people want to use a plugin to access a Bluetooth headset or headphone they need its address and at least put this in a configuration file. So adding something like pcm.aiptek { type a2dp bdaddr "00:0B:0D:50:12:10" } to their .asoundrc to connect to the Aiptek Bluetooth Headphone should be enough. However these devices should be present in the enumeration of the applications. 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 ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: alsa-lib plugin devel 2005-01-24 16:53 ` Marcel Holtmann @ 2005-01-24 17:09 ` Takashi Iwai 2005-01-24 17:23 ` Marcel Holtmann 2005-01-25 13:12 ` Florian Schmidt 0 siblings, 2 replies; 16+ messages in thread From: Takashi Iwai @ 2005-01-24 17:09 UTC (permalink / raw) To: Marcel Holtmann; +Cc: Brad Midgley, Clemens Ladisch, alsa-devel At Mon, 24 Jan 2005 17:53:04 +0100, Marcel Holtmann wrote: > > Hi Takashi, > > > The problem is that plugins which aren't bound to drivers like btsco > > are hard to detect whether they really work in advance. > > Do we need a probe callback for such a plugin? > > I don't think that this is needed. If people want to use a plugin to > access a Bluetooth headset or headphone they need its address and at > least put this in a configuration file. So adding something like > > pcm.aiptek { > type a2dp > bdaddr "00:0B:0D:50:12:10" > } > > to their .asoundrc to connect to the Aiptek Bluetooth Headphone should > be enough. Ah yes, BT SCO would require always a certain address, so it won't work without a proper configuration. Maybe other hardware layer will be, too. > However these devices should be present in the enumeration of > the applications. 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.) Takashi ------------------------------------------------------- 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 ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: alsa-lib plugin devel 2005-01-24 17:09 ` Takashi Iwai @ 2005-01-24 17:23 ` Marcel Holtmann 2005-01-24 17:41 ` Takashi Iwai 2005-01-25 13:12 ` Florian Schmidt 1 sibling, 1 reply; 16+ messages in thread From: Marcel Holtmann @ 2005-01-24 17:23 UTC (permalink / raw) To: Takashi Iwai; +Cc: Brad Midgley, Clemens Ladisch, alsa-devel Hi Takashi, > > > The problem is that plugins which aren't bound to drivers like btsco > > > are hard to detect whether they really work in advance. > > > Do we need a probe callback for such a plugin? > > > > I don't think that this is needed. If people want to use a plugin to > > access a Bluetooth headset or headphone they need its address and at > > least put this in a configuration file. So adding something like > > > > pcm.aiptek { > > type a2dp > > bdaddr "00:0B:0D:50:12:10" > > } > > > > to their .asoundrc to connect to the Aiptek Bluetooth Headphone should > > be enough. > > Ah yes, BT SCO would require always a certain address, so it won't work > without a proper configuration. Maybe other hardware layer will be, > too. > > > However these devices should be present in the enumeration of > > the applications. > > 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. 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. 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 ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: alsa-lib plugin devel 2005-01-24 17:23 ` Marcel Holtmann @ 2005-01-24 17:41 ` Takashi Iwai 2005-01-24 17:56 ` Marcel Holtmann 2005-01-24 20:08 ` Brad Midgley 0 siblings, 2 replies; 16+ messages in thread From: Takashi Iwai @ 2005-01-24 17:41 UTC (permalink / raw) To: Marcel Holtmann; +Cc: Brad Midgley, Clemens Ladisch, alsa-devel At Mon, 24 Jan 2005 18:23:06 +0100, Marcel Holtmann wrote: > > Hi Takashi, > > > > > The problem is that plugins which aren't bound to drivers like btsco > > > > are hard to detect whether they really work in advance. > > > > Do we need a probe callback for such a plugin? > > > > > > I don't think that this is needed. If people want to use a plugin to > > > access a Bluetooth headset or headphone they need its address and at > > > least put this in a configuration file. So adding something like > > > > > > pcm.aiptek { > > > type a2dp > > > bdaddr "00:0B:0D:50:12:10" > > > } > > > > > > to their .asoundrc to connect to the Aiptek Bluetooth Headphone should > > > be enough. > > > > Ah yes, BT SCO would require always a certain address, so it won't work > > without a proper configuration. Maybe other hardware layer will be, > > too. > > > > > However these devices should be present in the enumeration of > > > the applications. > > > > 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. > 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. Takashi ------------------------------------------------------- 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 ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: alsa-lib plugin devel 2005-01-24 17:41 ` Takashi Iwai @ 2005-01-24 17:56 ` Marcel Holtmann 2005-01-24 20:08 ` Brad Midgley 1 sibling, 0 replies; 16+ messages in thread From: Marcel Holtmann @ 2005-01-24 17:56 UTC (permalink / raw) To: Takashi Iwai; +Cc: Brad Midgley, Clemens Ladisch, alsa-devel 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 ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: alsa-lib plugin devel 2005-01-24 17:41 ` Takashi Iwai 2005-01-24 17:56 ` Marcel Holtmann @ 2005-01-24 20:08 ` Brad Midgley 2005-01-25 10:19 ` Takashi Iwai 1 sibling, 1 reply; 16+ messages in thread From: Brad Midgley @ 2005-01-24 20:08 UTC (permalink / raw) To: Takashi Iwai; +Cc: Marcel Holtmann, Clemens Ladisch, alsa-devel Takashi > Agreed, I/O plugin can set itself as the list candidate. > > >> 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. This sounds great. It's your project, so I shouldn't jump in and do it but let me know if you do want me to get in there. As long as you intend to make this change, it makes the plugin development worthwhile from my perspective. :) One question... will the client need to change how they query for devices? How much latitude do you have while keeping the api stable? Brad ------------------------------------------------------- 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 ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: alsa-lib plugin devel 2005-01-24 20:08 ` Brad Midgley @ 2005-01-25 10:19 ` Takashi Iwai 0 siblings, 0 replies; 16+ messages in thread From: Takashi Iwai @ 2005-01-25 10:19 UTC (permalink / raw) To: Brad Midgley; +Cc: Marcel Holtmann, Clemens Ladisch, alsa-devel At Mon, 24 Jan 2005 13:08:25 -0700, Brad Midgley wrote: > > Takashi > > > Agreed, I/O plugin can set itself as the list candidate. > > > > > >> 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. > > This sounds great. It's your project, so I shouldn't jump in and do it > but let me know if you do want me to get in there. As long as you intend > to make this change, it makes the plugin development worthwhile from my > perspective. :) > > One question... will the client need to change how they query for > devices? How much latitude do you have while keeping the api stable? It'll be an additional API function. So, applications will need rewrite, of course, if they use the new query function. But I won't change the existing APIs. This should never happen, at least, during ALSA 1.0.x. Takashi ------------------------------------------------------- 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 ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: alsa-lib plugin devel 2005-01-24 17:09 ` Takashi Iwai 2005-01-24 17:23 ` Marcel Holtmann @ 2005-01-25 13:12 ` Florian Schmidt 1 sibling, 0 replies; 16+ messages in thread From: Florian Schmidt @ 2005-01-25 13:12 UTC (permalink / raw) To: Takashi Iwai; +Cc: Marcel Holtmann, Brad Midgley, Clemens Ladisch, alsa-devel On Mon, 24 Jan 2005 18:09:36 +0100 Takashi Iwai <tiwai@suse.de> wrote: > 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.) My suggestion was 'register [description]': http://sourceforge.net/mailarchive/message.php?msg_id=9849308 Flo -- Palimm Palimm! http://affenbande.org/~tapas/ ------------------------------------------------------- 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 ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: alsa-lib plugin devel 2005-01-24 8:17 alsa-lib plugin devel Brad Midgley 2005-01-24 8:36 ` Clemens Ladisch @ 2005-01-24 9:24 ` Jaroslav Kysela 1 sibling, 0 replies; 16+ messages in thread From: Jaroslav Kysela @ 2005-01-24 9:24 UTC (permalink / raw) To: Brad Midgley; +Cc: alsa-devel On Mon, 24 Jan 2005, Brad Midgley wrote: > Hi > > I've started working on an alsa-lib plugin to send audio to a bluetooth > device (see http://bluetooth-alsa.sf.net) > > I stubbed it out so I can see that it gets invoked when I address it > directly with > > aplay -B 1000000 -D pcm.a2dp sound.wav > > And I can see it is invoking the plugin code (just filled in with a > bunch of printf's). What I'm struggling with is how to make this driver > appear to clients that use alsa-lib. In the simplest case, > > aplay --list-devices The control interface is used here (alsa-lib/src/control/). Jaroslav ----- Jaroslav Kysela <perex@suse.cz> Linux Kernel Sound Maintainer ALSA Project, SUSE Labs ------------------------------------------------------- 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 ^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2005-01-25 13:12 UTC | newest] Thread overview: 16+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2005-01-24 8:17 alsa-lib plugin devel Brad Midgley 2005-01-24 8:36 ` Clemens Ladisch 2005-01-24 16:31 ` Brad Midgley 2005-01-24 16:46 ` Takashi Iwai 2005-01-24 16:49 ` Brad Midgley 2005-01-24 17:12 ` Takashi Iwai 2005-01-24 17:25 ` Marcel Holtmann 2005-01-24 16:53 ` Marcel Holtmann 2005-01-24 17:09 ` Takashi Iwai 2005-01-24 17:23 ` Marcel Holtmann 2005-01-24 17:41 ` Takashi Iwai 2005-01-24 17:56 ` Marcel Holtmann 2005-01-24 20:08 ` Brad Midgley 2005-01-25 10:19 ` Takashi Iwai 2005-01-25 13:12 ` Florian Schmidt 2005-01-24 9:24 ` Jaroslav Kysela
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.