pipewire/spa/plugins/bluez5
Pauli Virtanen 036c10717d bluez5: refcount transport acquire and release, let it manage fd
Backends don't necessarily allow for opening the same device multiple
times, and it shouldn't be necessary.

Since source and sink are not necessarily both running at the same time,
refcount the transport acquire/release so that it knows to close the fd
only when no source/sink is running.

Let the transport manage the fd lifecycle, also closing it once it is
not needed.

Don't return the fd from acquire(), since each transport is associated
with a single socket fd.
2020-12-28 13:38:41 +01:00
..
a2dp-codec-aac.c a2dp: add aac encoder 2020-12-23 06:15:15 +00:00
a2dp-codec-aptx.c a2dp: add missing function abr_process in a2dp_codec_aptx 2020-12-20 04:53:21 +08:00
a2dp-codec-ldac.c a2dp: correct ldac config table 2020-12-20 22:34:51 +08:00
a2dp-codec-sbc.c a2dp: add ldac ABR support 2020-12-19 19:17:15 +08:00
a2dp-codecs.c a2dp: prefer aptx_hd over aptx 2020-12-11 20:04:57 +01:00
a2dp-codecs.h a2dp: add ldac ABR support 2020-12-19 19:17:15 +08:00
a2dp-sink.c a2dp: automatic delay estimation 2020-12-23 19:13:29 +00:00
a2dp-source.c bluez5: Don't deref the transport to get the fd 2020-12-14 13:17:48 +01:00
backend-hsp-native.c bluez5: refcount transport acquire and release, let it manage fd 2020-12-28 13:38:41 +01:00
backend-hsphfpd.c bluez5: refcount transport acquire and release, let it manage fd 2020-12-28 13:38:41 +01:00
backend-ofono.c bluez5: refcount transport acquire and release, let it manage fd 2020-12-28 13:38:41 +01:00
bluez5-dbus.c bluez5: refcount transport acquire and release, let it manage fd 2020-12-28 13:38:41 +01:00
bluez5-device.c bluez5: handle NULL profile, don't run the filter on it 2020-12-17 12:25:38 +01:00
defs.h bluez5: refcount transport acquire and release, let it manage fd 2020-12-28 13:38:41 +01:00
meson.build a2dp: add aac encoder 2020-12-23 06:15:15 +00:00
plugin.c monitor: remove monitor API and use device 2019-09-20 13:04:14 +02:00
rtp.h Add bluez5 plugins 2018-01-16 15:19:55 +01:00
sco-sink.c bluez5: refcount transport acquire and release, let it manage fd 2020-12-28 13:38:41 +01:00
sco-source.c bluez5: refcount transport acquire and release, let it manage fd 2020-12-28 13:38:41 +01:00