linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jelle de Jong <jelledejong@powercraft.nl>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] step by step - how to get your bluetooth stereo headset fully working with the bluez software stack under linux
Date: Thu, 01 May 2008 12:23:57 +0200	[thread overview]
Message-ID: <48199A3D.6030800@powercraft.nl> (raw)
In-Reply-To: <d89ddf300804302008h651289d5q82eaf8f054c697a8@mail.gmail.com>

Brad Midgley wrote:
>  Jelle
> 
>>  I got some kind of bandwidth issue with bluez. When I use my bluetooth
>>  headset and mouse at the same time, the audio gets interrupted. Both
>>  devices are master connections, if the headset is connected as slave,
>>  the connection is totally unusable, every other bluetooth event will
>>  make the audio stop in this case.
>>  - So how can we fix the bandwidth priority/distribution system with bluez?
> 
> since the computer's adapter is master on all the connections, it
> shouldn't be a bandwidth/scatternet issue.
> 
> Someone found a background process was starting up bt scans regularly
> that tanked a2dp streams but it doesn't sound like that is happening
> to you.
> 
> I did notice quite a while ago that the nvidia driver would interrupt
> a2dp while scrolling or moving windows. It must work some evil like
> disabling interrupts for long periods. But that would happen even with
> a wired mouse.
> 
> Do you have anything special with low-latency or other kernel process
> scheduler options?
> 
>>  When I play audio from a dvd, there is a little glitch in some of the
>>  audio frequency's, I think there is an issue with the sbc codec it
>>  appears only in some audio frequency circumstances.
>>  - Can we create a freq spectrum sweep to test the sdc codec on some
>>  glitches?
> 
> I suspect some less conservative encoder settings would help here, but
> if you have an audio clip you can share, I'd be able to hear for
> myself.
> 
>>  When playing audio, it gets buffered, and when you hit the pause key the
>>  media should stop directly. The buffer is also a source for some major
>>  audio video synchronization issues that I have encountered. hitting
>>  pause and play resets the buffer, but it keeps getting out of sync after
>>  some time.
> 
> the delay when using the gstreamer plugin should be more consistent and shorter.
> 
> that's good to hear it basically works in windows... early a2dp
> hardware had an inherent delay problem.
> 
>>  I can't get two audio streams to mix and play at the same time on one
>>  bluetooth device.
>>  - Can we get support for multiple audio streams mixing together for the
>>  same bluetooth device?
> 
> that will be one of the benefits of a native pulse plugin when it's
> written. the old school way to do this is dmix, but it will result in
> more confusion and delay.
> 
> it might be possible to coax pulse to use the gstreamer plugins. this
> setup would give you mixing and more stability. I would only try this
> with native pulse clients.
> 

a. I use the default kernel of debian sid, no low-latency kernel and my 
system is an asus eeepc with all intel chips, except for the atheros 
wireless chipset.

b. I will try to create an audio sample for you.

c. It fully 100% works under that other operating system: 
http://imagebin.ca/view/CEtNv9zN.html


ok, so to summary:

development and testing focus of bluez is: native pulse audio system 
with gstreamer multimedia backend.

xine and alsa do not work very well.... and for now there will be no 
attempts to fix this...?

1. How can we make bluez reserve 278kbps for an a2dp headset?

2. How can we make bluez force all a2dp headsets to become master 
instead of slave?

3. How can we make bluez continue to sent data to the headset even when 
a new bluetooth devices connects.

4. Will pulse and gstreamer and bluez be able to work on a 200 MHz ARM 
system.... please keep things usable for embedded devices...

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2008-05-01 10:23 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-29 12:53 [Bluez-users] step by step - how to get your bluetooth stereo headset fully working with the bluez software stack under linux Jelle de Jong
2008-04-30  2:35 ` Terry Johnson
2008-04-30  2:59   ` Brad Midgley
2008-04-30 21:16     ` Jelle de Jong
2008-05-01  3:08       ` Brad Midgley
2008-05-01 10:23         ` Jelle de Jong [this message]
2008-05-02 13:35           ` Brad Midgley
2008-05-01 13:41       ` Chris Carlin
2008-05-01 14:03         ` Brad Midgley
2008-05-01 16:36           ` Chris Carlin
2008-05-08 19:39 ` Chris Carlin
2008-05-09  9:04   ` Jelle de Jong
2008-05-09 12:58     ` Jelle de Jong
2008-05-10  9:11       ` Jelle de Jong
2008-05-11  5:34         ` Chris Carlin
2008-05-11  8:01           ` Jelle de Jong
2008-05-11 14:26             ` Brad Midgley
2008-05-11 14:34               ` Jelle de Jong

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=48199A3D.6030800@powercraft.nl \
    --to=jelledejong@powercraft.nl \
    --cc=bluez-users@lists.sourceforge.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;
as well as URLs for NNTP newsgroup(s).