[pulseaudio-discuss] [PATCH v5] bluetooth: Add support for automatic switch between hsp and a2dp profiles

Pali Rohár pali.rohar at gmail.com
Tue Aug 9 07:04:25 UTC 2016


On Tuesday 09 August 2016 01:12:21 Tanu Kaskinen wrote:
> On Fri, 2016-07-22 at 16:20 +0530, Arun Raghavan wrote:
> > > From: Pali Rohár <pali.rohar at gmail.com>
> 
> > +    if (revert_to_a2dp) {
> > +        from_profile = "hsp";
> > +        to_profile = "a2dp";
> > +    } else {
> > +        from_profile = "a2dp";
> > +        to_profile = "hsp";
> > +    }
> 
> These profile names work only with BlueZ 4. With BlueZ 5 the profile
> names are "headset_head_unit" and "a2dp_sink". Pali, would you be
> willing to write a patch makes the code handle both BlueZ versions?

I can look at it and write patch. But I do not have bluez5 so somebody
else would need to test it.

-- 
Pali Rohár
pali.rohar at gmail.com


More information about the pulseaudio-discuss mailing list