pipewire/spa
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
..
examples examples: dlclose on some errors 2020-07-02 16:07:54 +02:00
include json: revert strippinf code, this needs more work 2021-02-06 21:08:29 +01:00
plugins bluez5: a2dp-source: release transport if it went idle 2021-02-07 18:32:44 +00:00
tests pod: handle various ways of making empty array/choice 2021-01-25 10:55:30 +01:00
tools meson: use global b_pie to build PIE executables 2021-01-14 16:29:32 +01:00
meson.build a2dp: add aac encoder 2020-12-23 06:15:15 +00:00