mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
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. |
||
|---|---|---|
| .. | ||
| examples | ||
| include | ||
| plugins | ||
| tests | ||
| tools | ||
| meson.build | ||