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.
This commit is contained in:
Pauli Virtanen 2022-06-07 18:13:06 +03:00
parent 9493dafe44
commit 5b429607a8

View file

@ -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);