Bluetooth aptX codec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-- 
Luiz Augusto von Dentz


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux