mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-26 07:58:03 -04:00
spa: bluez: device: Add SPA_PROP_params to disable dummy call state
The current implementation only send the +CIEV:<call>,<active> event if there's an active modem in ModemManager. This may lead to headset disconnection as in (1) if the profile is by another application than telephony one, e.g. a conference application/website. This commit improves dummy call status update by adding a new "bluez5.disable-dummy-call" props param in bluez5 device, allowing external application like WirePlumber to set it dynamically. (1) https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1744 Fixes: https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/2606
This commit is contained in:
parent
7aa8d8d628
commit
25a6fdcdb1
3 changed files with 79 additions and 8 deletions
|
|
@ -573,6 +573,8 @@ struct spa_bt_device {
|
|||
|
||||
const struct media_codec *preferred_codec;
|
||||
uint32_t preferred_profiles;
|
||||
|
||||
bool disable_dummy_call;
|
||||
};
|
||||
|
||||
struct spa_bt_device *spa_bt_device_find(struct spa_bt_monitor *monitor, const char *path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue