pipewire/spa/plugins/bluez5
Pauli Virtanen 4b831021fb 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
2021-10-10 16:24:41 +03:00
..
a2dp-codec-aac.c bluez5: tolerate devices sending incorrect AAC caps 2021-10-02 10:29:48 +00:00
a2dp-codec-aptx.c bluez5: split A2DP codecs to separate SPA plugins 2021-09-03 20:40:30 +03:00
a2dp-codec-caps.h bluez5: split A2DP codecs to separate SPA plugins 2021-09-03 20:40:30 +03:00
a2dp-codec-faststream.c bluez5: fix FastStream microphone support on some devices 2021-09-25 16:27:57 +00:00
a2dp-codec-ldac.c bluez5: split A2DP codecs to separate SPA plugins 2021-09-03 20:40:30 +03:00
a2dp-codec-sbc.c bluez5: split A2DP codecs to separate SPA plugins 2021-09-03 20:40:30 +03:00
a2dp-codecs.c bluez5: split A2DP codecs to separate SPA plugins 2021-09-03 20:40:30 +03:00
a2dp-codecs.h bluez5: make codec loading compatible with old conf files 2021-09-06 18:04:35 +03:00
a2dp-sink.c bluez5: use log topics 2021-10-02 12:46:02 +03:00
a2dp-source.c bluez5: use log topics 2021-10-02 12:46:02 +03:00
backend-hsphfpd.c bluez5: use log topics 2021-10-02 12:46:02 +03:00
backend-native.c bluez5: fix HFP backend behavior when BlueZ goes away 2021-10-09 13:03:08 +00:00
backend-ofono.c bluez5: use log topics 2021-10-02 12:46:02 +03:00
bluez-hardware.conf bluez5: update bluez-hardware.conf 2021-10-05 18:23:56 +00:00
bluez5-dbus.c bluez5: add a dummy AVRCP player as a workaround 2021-10-10 16:24:41 +03:00
bluez5-device.c bluez5: use log topics 2021-10-02 12:46:02 +03:00
codec-loader.c bluez5: use log topics 2021-10-02 12:46:02 +03:00
codec-loader.h bluez5: split A2DP codecs to separate SPA plugins 2021-09-03 20:40:30 +03:00
defs.h bluez5: add a dummy AVRCP player as a workaround 2021-10-10 16:24:41 +03:00
meson.build bluez5: add a dummy AVRCP player as a workaround 2021-10-10 16:24:41 +03:00
player.c bluez5: add a dummy AVRCP player as a workaround 2021-10-10 16:24:41 +03:00
player.h bluez5: add a dummy AVRCP player as a workaround 2021-10-10 16:24:41 +03:00
plugin.c monitor: remove monitor API and use device 2019-09-20 13:04:14 +02:00
quirks.c bluez5: add faststream quirks 2021-10-03 20:55:02 +03:00
README-SBC-XQ.md bluez5: add SBC XQ readme 2021-01-07 09:54:16 +01:00
rtp.h Add bluez5 plugins 2018-01-16 15:19:55 +01:00
sco-io.c bluez5: sco-io: start writing only after the packet size is known 2021-07-11 16:14:03 +00:00
sco-sink.c bluez5: use log topics 2021-10-02 12:46:02 +03:00
sco-source.c bluez5: use log topics 2021-10-02 12:46:02 +03:00