Return-Path: Message-ID: <48199A3D.6030800@powercraft.nl> Date: Thu, 01 May 2008 12:23:57 +0200 From: Jelle de Jong MIME-Version: 1.0 To: BlueZ users References: <48171A58.8060200@powercraft.nl> <4817DAE3.6050406@gmail.com> <4818E1B3.6000900@powercraft.nl> In-Reply-To: Subject: Re: [Bluez-users] step by step - how to get your bluetooth stereo headset fully working with the bluez software stack under linux Reply-To: BlueZ users List-Id: BlueZ users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-users-bounces@lists.sourceforge.net Errors-To: bluez-users-bounces@lists.sourceforge.net 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