pipewire/spa/plugins/bluez5
Pauli Virtanen f99eefeb4f bluez5: a2dp-source: release transport if it went idle
Release the transport if it went idle, ensuring that the fd is closed,
and add safeguards we won't double-acquire/release it.

This can occur if the device pauses the playback. The transport may also
activate again later on, and in this case we need to reacquire a new fd.
Not closing the old fd causes problems in this case.

However, apparently the BlueZ Release() call fails if the transport is
idle. We just ignore the error and downgrade the error message; it might
not be safe to not call Release() because the idle property update is
async.
2021-02-07 18:32:44 +00:00
..
a2dp-codec-aac.c a2dp-codecs: add settings to codec init function 2021-01-07 17:39:39 +01:00
a2dp-codec-aptx.c bluez5: add codec check_caps + check vendor codec id for ldac & aptx 2021-02-02 09:56:29 +00:00
a2dp-codec-ldac.c bluez5: add codec check_caps + check vendor codec id for ldac & aptx 2021-02-02 09:56:29 +00:00
a2dp-codec-sbc.c bluez5: connect to SBC endpoints in order of preference 2021-02-04 00:05:34 +02:00
a2dp-codecs.c bluez5: support device capability checks beyond A2DP caps + split sbc-xq to separate codec 2021-02-02 09:56:29 +00:00
a2dp-codecs.h bluez5: support device capability checks beyond A2DP caps + split sbc-xq to separate codec 2021-02-02 09:56:29 +00:00
a2dp-sink.c a2dp: improve codec specific transport socket send buffer size setting 2021-01-31 09:01:40 +08:00
a2dp-source.c bluez5: a2dp-source: release transport if it went idle 2021-02-07 18:32:44 +00:00
backend-hsphfpd.c bluez5: basic codec-switching framework 2021-02-02 09:56:29 +00:00
backend-native.c bluez5: basic codec-switching framework 2021-02-02 09:56:29 +00:00
backend-ofono.c bluez5: basic codec-switching framework 2021-02-02 09:56:29 +00:00
bluez5-dbus.c bluez5: a2dp-source: release transport if it went idle 2021-02-07 18:32:44 +00:00
bluez5-device.c bluez5: disable codec switching when in A2DP sink role 2021-02-06 18:12:19 +00:00
defs.h bluez5: emit events on profile change and handle them 2021-02-02 09:56:29 +00:00
meson.build bluez5: Add simple HFP AG support to backend-native 2021-01-12 11:21:55 +01:00
plugin.c monitor: remove monitor API and use device 2019-09-20 13:04:14 +02: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: rework sco i/o + autodetect mtu 2021-01-04 19:19:16 +02:00
sco-sink.c bluez: disable pause on idle by default 2021-01-29 15:37:32 +01:00
sco-source.c bluez: disable pause on idle by default 2021-01-29 15:37:32 +01:00