mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
Codec probe connections can trigger bad behavior from oFono if done when device is busy (e.g. at connect), and they might be done at the same time as A2DP transport is acquired which cannot work. Also, oFono will not reply to DBus Acquire, if device does not complete codec negotiation correctly. This is most likely to happen just after device connect, when it is busy with other stuff (eg A2DP). Remove codec probe connections altogether: instead, we guess mSBC if mSBC is enabled and otherwise CVSD. If the guess turns out to be wrong, which is unlikely (almost all devices have mSBC), we recreate the transport with correct codec (from main loop, must not be done in *_acquire because that can destroy nodes + unload the spa libs while we're being called from there). To avoid oFono DBus hangs at startup, add delay before marking the profile connected, enforcing a time difference to A2DP operations. |
||
|---|---|---|
| .. | ||
| aec | ||
| alsa | ||
| audioconvert | ||
| audiomixer | ||
| audiotestsrc | ||
| bluez5 | ||
| control | ||
| ffmpeg | ||
| jack | ||
| libcamera | ||
| support | ||
| test | ||
| v4l2 | ||
| videoconvert | ||
| videotestsrc | ||
| volume | ||
| vulkan | ||
| meson.build | ||