mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
bluez5: fix device connection issue if profile(UUIDs) info is delayed
Keep all types of devices, only emit device info if device has audio profiles. Heuristically add profiles based on bluez actions so device can still be connected even without initial UUIDs info from signal InterfaceAdded for org.bluez.Device1. Fixes #1330
This commit is contained in:
parent
b44fdf5ebb
commit
3433f40cd9
5 changed files with 33 additions and 6 deletions
|
|
@ -441,6 +441,7 @@ struct a2dp_codec;
|
|||
|
||||
struct spa_bt_device *spa_bt_device_find(struct spa_bt_monitor *monitor, const char *path);
|
||||
struct spa_bt_device *spa_bt_device_find_by_address(struct spa_bt_monitor *monitor, const char *remote_address, const char *local_address);
|
||||
int spa_bt_device_add_profile(struct spa_bt_device *device, enum spa_bt_profile profile);
|
||||
int spa_bt_device_connect_profile(struct spa_bt_device *device, enum spa_bt_profile profile);
|
||||
int spa_bt_device_check_profiles(struct spa_bt_device *device, bool force);
|
||||
int spa_bt_device_ensure_a2dp_codec(struct spa_bt_device *device, const struct a2dp_codec **codecs);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue