[pulseaudio-discuss] [PATCH 1/2, v3] bluetooth: use native and ofono backends in parallel with headset=auto
Tanu Kaskinen
tanuk at iki.fi
Sat Mar 11 12:35:00 UTC 2017
On Sat, 2017-03-11 at 13:30 +0100, Georg Chini wrote:
> This patch changes the behavior of the headset=auto switch for module-bluez5-discover.
> With headset=auto now both backends will be active at the same time for the AG role and
> the switching between the backends is only done for the HS role.
> headset=ofono and headset=native remain unchanged.
>
> This allows to use old HSP only headsets while running ofono and to have headset support
> via pulseaudio if ofono is started with the --noplugin=hfp_ag_bluez5 option.
> ---
>
> - changes in v2:
> use a separate function to enable the headset role
> -changes in v3:
> create the natvie backend in get_managed_objects_reply() if headset=auto
>
> src/modules/bluetooth/backend-native.c | 23 ++++++++++++++++++++---
> src/modules/bluetooth/bluez5-util.c | 11 +++--------
> src/modules/bluetooth/bluez5-util.h | 6 ++++--
> 3 files changed, 27 insertions(+), 13 deletions(-)
Looks good to me.
--
Tanu
https://www.patreon.com/tanuk
More information about the pulseaudio-discuss
mailing list