From 5b429607a8ce307fafbbf5b04b2876c1f015ab8c Mon Sep 17 00:00:00 2001 From: Pauli Virtanen Date: Tue, 7 Jun 2022 18:13:06 +0300 Subject: [PATCH] bluez5: disable dummy avrcp player by default It causes some headsets behave strangely. See pipewire#2391, pipewire#1853. The BlueZ issue of AVRCP volume sometimes missing that this worked around was fixed in recent versions. The issue of some headsets not sending volume without AVRCP player remains, but it appears this breaks more headsets than fixes. --- spa/plugins/bluez5/bluez5-dbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spa/plugins/bluez5/bluez5-dbus.c b/spa/plugins/bluez5/bluez5-dbus.c index e2bb9cd3e..8b57911ab 100644 --- a/spa/plugins/bluez5/bluez5-dbus.c +++ b/spa/plugins/bluez5/bluez5-dbus.c @@ -4572,7 +4572,7 @@ impl_init(const struct spa_handle_factory *factory, if ((str = spa_dict_lookup(info, "bluez5.dummy-avrcp-player")) != NULL) this->dummy_avrcp_player = spa_atob(str); else - this->dummy_avrcp_player = true; + this->dummy_avrcp_player = false; } register_media_application(this);