[pulseaudio-discuss] [PATCH v5 2/4] bluetooth: separate HSP and HFP

Rodrigo Araujo araujo.rm at gmail.com
Mon Sep 25 14:30:53 UTC 2017


On 09/25/2017 02:37 PM, James Bottomley wrote:
> On Sat, 2017-09-23 at 23:33 +0100, Rodrigo Araujo wrote:
>> Hi.
>> First, just to say that your patches are going great. Finally I can
>> use
>> the microphone of my HFP only headset (a version of a Bluedio T2+).
>> So far, I've only encontered one problem: the auto_switch option of
>> module_bluetooth_policy stops working. Dug through the code and I
>> think
>> you missed a few spots were you have to hangle the new
>> headset_handsfree
>> profile in module_bluetooth_policy.c
>> Applying the following after applying your v5 patches fixed the issue
>> for me, now when I start making a VOIP call the profile switches to
>> headset_handsfree and the mic works automatically, and when the call
>> finishes it reverts back to a2dp.
> That's great, thanks!  Sad to say I didn't think automatic profile
> switching worked in pulseaudio, so I hadn't thought to investigate it.
> Did you want me to merge this into patch 2 or add it as a new patch
> with you as the author?
> James

Seems to me it makes sense to merge into patch 2. Would simplify things
also, too many patches and lots of work for you guys already ;)

If you want to mention my name as contributor in that patch, also go
ahead :)

Best regards.

More information about the pulseaudio-discuss mailing list