Skip to contentSkip to conversation

bluetooth headset audio

DISCUSSION Brad Midgley 2 participants 2 messages Sep 30, 2004

lore
Share & tools
lore
#0 lore raw

Hi

I am working with the group doing bluetooth audio. (http://sourceforge.net/projects/bluetooth-alsa/)

Right now we have alsa patches to add a bluetooth alsa device to the kernel. It works in conjunction with a userspace bluetooth daemon. It's not ideal. For one thing, we should be able to support multiple bluetooth headsets at once but that would require more kernel changes.

Is there any way to have an alsa sound driver that lives mostly in userspace? If there was something like that, we could load up one driver for each headset we wanted to support. We have to route things through userspace anyway to use the bluetooth device. It might also be easier to get patches accepted. :)

Brad

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

#1 lore raw

At Wed, 29 Sep 2004 21:41:15 -0600,

Quoted 6 lines · Brad Midgley

Hi

I am working with the group doing bluetooth audio.
(http://sourceforge.net/projects/bluetooth-alsa/)

Quoted 7 lines

Right now we have alsa patches to add a bluetooth alsa device to the kernel. It works in conjunction with a userspace bluetooth daemon. It's not ideal. For one thing, we should be able to support multiple bluetooth headsets at once but that would require more kernel changes.

Is there any way to have an alsa sound driver that lives mostly in userspace?

Yes, you can write a dedicated plugin of alsa-lib.

Quoted 4 lines

If there was something like that, we could load up one driver
for each headset we wanted to support. We have to route things through userspace anyway to use the bluetooth device. It might also be easier to get patches accepted. :)

Patches to drivers are welcome, too :)

The reason I don't take the current bt-sco driver is the design problem as you wrote above. We should implement either only on user-space or on kernel-space.

I recently talked with Marcel Holtmann, and he suggested to write rather a kernel driver. I'd like to develop it when I have some time later.

Takashi

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl