mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-02-09 10:07:23 -05:00
bluetooth: fix headset=auto ofono handover
Native backend implements HFP AG but not HFP HF yet, therefore headset=auto functionality is still needed if HFP HF is required. To make headset=auto work again, drop both HFP AG and HSP AG roles while performing handover from native backend when oFono is detected running. While at it, restore profile description to Headset Head Unit (HSP/HFP) to note that HFP may be still provided via oFono backend. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/491>
This commit is contained in:
parent
8491477b3e
commit
70171158ee
3 changed files with 25 additions and 16 deletions
|
|
@ -1945,7 +1945,7 @@ static pa_card_profile *create_card_profile(struct userdata *u, pa_bluetooth_pro
|
|||
break;
|
||||
|
||||
case PA_BLUETOOTH_PROFILE_HSP_HS:
|
||||
cp = pa_card_profile_new(name, _("Headset Head Unit (HSP)"), sizeof(pa_bluetooth_profile_t));
|
||||
cp = pa_card_profile_new(name, _("Headset Head Unit (HSP/HFP)"), sizeof(pa_bluetooth_profile_t));
|
||||
cp->priority = 30;
|
||||
cp->n_sinks = 1;
|
||||
cp->n_sources = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue