mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
bluez5: bump device profile timeout
Double device profile timeout to 6sec. In some cases, BlueZ can take more than the previous 3sec to connect all profiles. It's better to wait for a bit longer, so that devices have all profiles visible already when they first appear. This works around issues in Wireplumber profile selection logic.
This commit is contained in:
parent
b92a378a29
commit
e4f7b2285b
1 changed files with 1 additions and 1 deletions
|
|
@ -1159,7 +1159,7 @@ static int reconnect_device_profiles(struct spa_bt_device *device)
|
||||||
}
|
}
|
||||||
|
|
||||||
#define DEVICE_RECONNECT_TIMEOUT_SEC 2
|
#define DEVICE_RECONNECT_TIMEOUT_SEC 2
|
||||||
#define DEVICE_PROFILE_TIMEOUT_SEC 3
|
#define DEVICE_PROFILE_TIMEOUT_SEC 6
|
||||||
|
|
||||||
static void device_timer_event(struct spa_source *source)
|
static void device_timer_event(struct spa_source *source)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue