[pulseaudio-discuss] [PATCH v0 0/5] Bluetooth Media API and related

Maxim Levitsky maximlevitsky at gmail.com
Thu Sep 13 19:35:06 PDT 2012


On Thu, 2012-09-13 at 07:24 +0300, Maxim Levitsky wrote: 
> On Fri, 2012-07-06 at 11:19 +0200, Mikel Astiz wrote: 
> > From: Mikel Astiz <mikel.astiz at bmw-carit.de>
> > 
> > This patch series includes several patches already submitted as RFC to remove the old socket-based IPC mechanism between BlueZ and PulseAudio, along with some other patches that were pending.
> I today happened to play with latest bluez sources and due to this API
> change installed latest PA from git, because stock one doesn't work with
> git's bluez
> 
> Everything is fine except that connecting two bluetooth headsets is
> broken.
> 
> (it did work fine before with MaxConnected=2
> in /etc/bluetooth/audio.conf)
> 
> bluez fails to setup A2DP connection with 2nd bluetooth dongle
> with error "Unable to select SEP"
> 
> I did some initial digging in bluez source and my senses suggest me that
> its pulseaudio related problem, but of course to understand source fully
> it will take a week or so, and I dont know if I have this time. At least
> now I don't.
> 
> Keep up the good work!
> 
> Best regards,
> Maxim Levitky
> 
> 
> PS: I updated bluez to troubleshot issue where I couldn't connect to
> A2DP source that as it turns out is implemented in pulseaudio and bluez,
> and only to find out that this is fixed (yay!)
> 
> Moreover your new module the 'module-bluetooth-policy' makes the source
> work completely automatically.
> 
> But all this is not related anyway to the issue I am describing here.
> Its cool though to stream sound from my tablet to PC via bluetooth and
> then to two bluetooth headphones. Its pretty pointless but works well,
> except the issues I described above.
> 
Turns out that the issue indeed mostly likely caused by switch to media
API.
Using PA revision prior to removal of socket api, issue happens with
bluez just after removal of socket api there, but not with bluez just
prior to that removal.
So I pretty sure that this is regression in new media api ether in PA or
in bluez.

After exam I have very soon I look at the source code, to understand
where the issue is coming from.

Meanwhile I will be glad if you explain conceptually what SEP is.
Meanwhile it looks to me as sort of IO channel, but I didn't dug deeper
yet.

Best regards,
Maxim Levitsky





More information about the pulseaudio-discuss mailing list