[pulseaudio-discuss] Bluetooth aptX codec

Pali Rohár pali.rohar at gmail.com
Sun Jul 22 08:45:57 UTC 2018


On Friday 20 July 2018 14:30:56 Luiz Augusto von Dentz wrote:
> Hi Pali,
> 
> On Wed, Jul 11, 2018 at 11:07 AM, Pali Rohár <pali.rohar at gmail.com> wrote:
> > On Monday 09 July 2018 17:56:16 Pali Rohár wrote:
> >> On Monday 09 July 2018 18:48:10 Luiz Augusto von Dentz wrote:
> >> > > 2) How should codec switching from pulseaudio API and pactl/pavucontrol
> >> > > looks like?
> >> >
> >> > Usually we don't force reconfiguration but perhaps we should, note
> >> > though that we may end up with audio glitches since we have to
> >> > disconnect A2DP stream to be able to reconfigure it with another
> >> > codec.
> >>
> >> Glitches are already there if you switch from A2DP profile to HSP in
> >> pavucontrol. So I do not see any problem if glitches happen also when
> >> switching between A2DP (SBC) and A2DP (aptX).
> >>
> >> > We would probably have to expose each endpoint so you could
> >> > peek and choose what the codec to use.
> >>
> >> Yes. I think this is required when pulseaudio is going to support more
> >> then one codec.
> >
> > So when this will happen? As for now this is blocker for proper support
> > of multiple codecs in pulseaudio.
> >
> > We need some dbus method call which will tell bluez which endpoint
> > (registered by pulseaudio) should be used now for particular bluetooth
> > A2DP device.
> 
> I can give you some pointers on how to expose the endpoints with
> MediaEndpoint interface.

Ok.

-- 
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/20180722/9a69a138/attachment.sig>


More information about the pulseaudio-discuss mailing list