mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-20 15:00:07 +01:00
Increase timeout for Bluetooth profile negotiation.
This allows more time for Bluetooth headsets to negotiate the supported profiles with bluez so that the profile previously used with the headset is automatically enabled in PulseAudio. In particular, the previous timeout was not enough for Sennheiser Momentum True Wireless 2, which would occasionally connect in HSP/HFP mode instead of A2DP. Refs https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/1363. Refs https://github.com/bluez/bluez/issues/359.
This commit is contained in:
parent
be2efb69b9
commit
920f8f7dd7
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@
|
||||||
|
|
||||||
#include "bluez5-util.h"
|
#include "bluez5-util.h"
|
||||||
|
|
||||||
#define WAIT_FOR_PROFILES_TIMEOUT_USEC (3 * PA_USEC_PER_SEC)
|
#define WAIT_FOR_PROFILES_TIMEOUT_USEC (5 * PA_USEC_PER_SEC)
|
||||||
|
|
||||||
#define DBUS_INTERFACE_OBJECT_MANAGER DBUS_INTERFACE_DBUS ".ObjectManager"
|
#define DBUS_INTERFACE_OBJECT_MANAGER DBUS_INTERFACE_DBUS ".ObjectManager"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue