mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
bluez5: enable HSP HS volume control
It's only enabled for HSP AG previously.
This commit is contained in:
parent
f56d08297d
commit
30e4e56852
1 changed files with 1 additions and 1 deletions
|
|
@ -1488,9 +1488,9 @@ static DBusHandlerResult profile_new_connection(DBusConnection *conn, DBusMessag
|
||||||
goto fail_need_memory;
|
goto fail_need_memory;
|
||||||
}
|
}
|
||||||
rfcomm->transport = t;
|
rfcomm->transport = t;
|
||||||
|
rfcomm->has_volume = rfcomm_volume_enabled(rfcomm);
|
||||||
|
|
||||||
if (profile == SPA_BT_PROFILE_HSP_AG) {
|
if (profile == SPA_BT_PROFILE_HSP_AG) {
|
||||||
rfcomm->has_volume = rfcomm_volume_enabled(rfcomm);
|
|
||||||
rfcomm->hs_state = hsp_hs_init1;
|
rfcomm->hs_state = hsp_hs_init1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue