public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Brad Midgley <bmidgley@xmission.com>
To: snd-bt-sco@corinis.net,
	BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [snd-bt-sco] bluetooth headset profile with alsa in user space.
Date: Sun, 03 Oct 2004 12:40:18 -0600	[thread overview]
Message-ID: <41604792.8030309@xmission.com> (raw)
In-Reply-To: <41603BF5.9030405@superbug.co.uk>

James,

I've looked at this too. I'm crossposting to see if Marcel wants to comment.

Some people think bluetooth-alsa should have a smaller kernel footprint 
and some people think it's the userspace component that needs to be 
eliminated. The bottom line is that it needs to go in a direction that 
is acceptable to bluez and alsa but doesn't leave so much to be desired 
by the bluez group that they feel like reimplementing/rejecting it.

the less-kernel-space argument

- alsa would not be affected [much]
- bluez would only be affected in that we may want hooks to go into 
libbluetooth
- userspace stuff is easier to debug and develop
- supporting multiple headsets simultaneously should be more straightforward
- kernel developers won't be questioning it
- adding it to a linux distro that has bluez already would be easier

The more-kernel-space argument:

- alsa has said they would consider patches that don't have the 
userspace entanglements
- the bluez project leaders may decide that in-kernel is the way audio 
has to be done
- dbus/hotplug may play nicer with an in-kernel driver

I think now the less-kernel-space is safer. Regardless of our approach, 
apps that want bluetooth-alsa like asterisk will have to be linked with 
a new library so there's not a disadvantage there with another build 
requirement. There's probably just too much uncertainty with the 
in-kernel approach.

Brad

James Courtier-Dutton wrote:
> It is possible to implement an alsa device is user space, without 
> requiring any kernel modules. An example of this the the pcm_jack.c file 
> in:
> ./alsa-lib/src/pcm/ext/pcm_jack.c
> 
> It basically makes jackd look like a sound card to any alsa application.
> 
> This should help, because the bluetooth profile code is in user space as 
> well, so we could make the bluetooth profile look like an alsa sound card.
> 
> Any comments?
> 
> James
> 
> 

           reply	other threads:[~2004-10-03 18:40 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <41603BF5.9030405@superbug.co.uk>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41604792.8030309@xmission.com \
    --to=bmidgley@xmission.com \
    --cc=bluez-users@lists.sourceforge.net \
    --cc=snd-bt-sco@corinis.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox