[pulseaudio-discuss] [PATCH 1/4] A2DP api with multi-codec support

Pali Rohár pali.rohar at gmail.com
Sat Dec 15 21:48:52 UTC 2018


On Saturday 15 December 2018 23:15:14 Pasi Kärkkäinen wrote:
> On Fri, Dec 14, 2018 at 12:01:57PM +0100, Pali Rohár wrote:
> > > >
> > > > Therefore that priority list is not always enforced.
> > > 
> > > How do you know?
> > 
> > Because I wrote my own implementation of aptX and FastStream codec
> > support for pulseaudio. Also I played with bluez a lot. In summer I sent
> > those my patches to pulseaudio mailing list, including proposal for
> > pulseaudio codec API.
> > 
> > And there was discussion about it. Also bluez developer confirmed that
> > priority list is not applied when headset initialize connection.
> >
> 
> So what's needed to get the pulseaudio codec api supported in pulseaudio / patches merged? 
> Are there still not-yet-implemented items related to the pulseaudio codec api proposal?
> More reviews needed?
> 
> I understand this is not a simple change, just trying to understand the current status.

One of the missing part is bluez API for selecting / switching A2DP
codec. Without it, it is not possible to implement stable selection of
A2DP codec in pulseaudio.

I sent remainder email about this problem to linux-bluetooth ML:
https://www.spinics.net/lists/linux-bluetooth/msg78127.html

This is reason why I paused my work from summer for bringing Modular
codec API into pulseaudio. As all future work will depends on how that
new bluez dbus API would look like. Otherwise I would have finished my
Modular codec API... https://patchwork.freedesktop.org/series/46058/

Luiz proposed, that bluez could device's MediaEndpoint1 with
SelectConfiguration for every supported codec by remote device and
pulseaudio then could choose which one want. See:
https://www.spinics.net/lists/linux-bluetooth/msg76413.html

> 
> Thanks,
> 
> -- Pasi
> 
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

-- 
Pali Rohár
pali.rohar at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20181215/07424cf8/attachment.sig>


More information about the pulseaudio-discuss mailing list