mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
bluez5: add a dummy AVRCP player as a workaround
Some devices (Bose Mini Soundlink II, Air 1 Plus, ...) don't enable AVRCP volume control, or fail to enable it before a hardware button is pressed. However, these devices appear to enable it, if an AVRCP player is present. As a workaround, register a dummy AVRCP player for each adapter. It only displays the current transport acquisition state as playing/stopped, but just its presence appears to be enough to make devices behave. Multiple AVRCP players interfere with each other, as BlueZ uses the one registered earliest as the default player. So add also a config option for disabling this. (It's not common to have mpris-proxy etc. running, so defaulting to true should be OK.) See pipewire#1157
This commit is contained in:
parent
336caa9db3
commit
4b831021fb
6 changed files with 514 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ bluez5_sources = [
|
|||
'sco-source.c',
|
||||
'sco-io.c',
|
||||
'quirks.c',
|
||||
'player.c',
|
||||
'bluez5-device.c',
|
||||
'bluez5-dbus.c'
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue