pipewire/spa/plugins/bluez5
Pauli Virtanen 30047f232b bluez5: account for driver clock rate difference in rate matching
The rate matching calculations are done in the system clock domain.  If
the driver ticks at a different rate, the correction factor needs to be
adjusted by the rate_diff.

This fixes ISO streams getting out of sync with each other when target
delay changes. This happens because typically one of them is the driver
and the other follower. Driver adjust clock rate, and follower does its
own adjustment *on top of that* so it rate matches more or less at
double speed.  (The DLL of the follower to some degree corrects for
this, but can't do that when hitting RATE_CTL_DIFF_MAX and moreover it
acts with a delay.)
2025-07-12 19:57:22 +00:00
..
g722 bluez5: asha-codec-g722: Drop the dependency on FFmpeg 2025-02-13 19:55:18 +05:30
a2dp-codec-aac.c bluez5: replace codec->bap/asha flags with codec->kind enum 2025-06-13 17:51:16 +00:00
a2dp-codec-aptx.c bluez5: replace codec->bap/asha flags with codec->kind enum 2025-06-13 17:51:16 +00:00
a2dp-codec-caps.h bluez5: aac: fix for A2DP v1.4 using rfa bits for more channels 2025-07-10 14:12:15 +00:00
a2dp-codec-faststream.c bluez5: replace codec->bap/asha flags with codec->kind enum 2025-06-13 17:51:16 +00:00
a2dp-codec-lc3plus.c bluez5: replace codec->bap/asha flags with codec->kind enum 2025-06-13 17:51:16 +00:00
a2dp-codec-ldac.c bluez5: replace codec->bap/asha flags with codec->kind enum 2025-06-13 17:51:16 +00:00
a2dp-codec-opus-g.c bluez5: replace codec->bap/asha flags with codec->kind enum 2025-06-13 17:51:16 +00:00
a2dp-codec-opus.c bluez5: replace codec->bap/asha flags with codec->kind enum 2025-06-13 17:51:16 +00:00
a2dp-codec-sbc.c bluez5: replace codec->bap/asha flags with codec->kind enum 2025-06-13 17:51:16 +00:00
asha-codec-g722.c bluez5: replace codec->bap/asha flags with codec->kind enum 2025-06-13 17:51:16 +00:00
backend-hsphfpd.c bluez5: indicate codec support status for ofono/hsphfpd 2025-06-13 17:51:16 +00:00
backend-native.c bluez5: backend-native: Fix call held hangup 2025-07-11 10:42:03 +02:00
backend-ofono.c bluez5: indicate codec support status for ofono/hsphfpd 2025-06-13 17:51:16 +00:00
bap-codec-caps.h bluez5: bap: allow configuring server locations/context 2025-04-20 20:34:35 +03:00
bap-codec-lc3.c bluez5: bap: prefer 32 kHz in/out for duplex configuration 2025-06-13 22:16:03 +00:00
bluez-hardware.conf bluez5: add quirk for Phonak hearing aids 2024-10-13 11:50:04 +03:00
bluez5-dbus.c bluez5: don't crash on codecs without caps_preference_cmp 2025-06-19 12:03:13 +00:00
bluez5-device.c bluez5: temporarily remove BAP nodes when another device is switching 2025-06-13 22:16:03 +00:00
bt-latency.h bluez5: update timestamping code to match kernel & bluez 2025-05-17 10:51:37 +00:00
codec-loader.c bluez5: support LC3-24kHz HFP codec available on some Apple devices 2025-06-13 22:15:29 +00:00
codec-loader.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
dbus-monitor.c bluez5: fix glib signal disconnect 2023-04-14 20:06:57 +03:00
dbus-monitor.h chore: fix warnings shown by Clang 16 2023-05-09 08:31:56 +00:00
decode-buffer.h bluez5: fix cmsg align in spa_bt_recmsg & smaller buffer 2025-04-21 14:46:58 +03:00
defs.h bluez5: drop old SCO fragment data when sink starts 2025-06-21 16:13:57 +03:00
hci.c spa: bluez: use some more spa_auto* 2023-07-30 13:45:49 +02:00
hfp-codec-caps.h bluez5: remove HFP codec id from transports 2025-06-13 17:51:16 +00:00
hfp-codec-cvsd.c bluez5: limit CVSD block size 2025-06-21 16:08:30 +03:00
hfp-codec-lc3-a127.c bluez5: support LC3-24kHz HFP codec available on some Apple devices 2025-06-13 22:15:29 +00:00
hfp-codec-lc3-swb.c bluez5: fix some coverity issues 2025-06-14 14:34:55 +03:00
hfp-codec-msbc.c bluez5: fix some coverity issues 2025-06-14 14:34:55 +03:00
hfp-h2.h bluez5: add HFP codecs in the media codec API 2025-06-13 17:51:16 +00:00
iso-io.c bluez5: replace codec->bap/asha flags with codec->kind enum 2025-06-13 17:51:16 +00:00
iso-io.h bluez5: iso-io: track and apply corrections to tx latency 2024-04-12 18:50:15 +03:00
media-codecs.c bluez5: add HFP codecs in the media codec API 2025-06-13 17:51:16 +00:00
media-codecs.h bluez5: replace codec->bap/asha flags with codec->kind enum 2025-06-13 17:51:16 +00:00
media-sink.c bluez5: account for driver clock rate difference in rate matching 2025-07-12 19:57:22 +00:00
media-source.c bluez5: replace sco-source with media-source 2025-06-21 16:08:30 +03:00
meson.build bluez5: replace sco-source with media-source 2025-06-21 16:08:30 +03:00
midi-enum.c *: unify config.h handling 2025-05-30 10:24:13 +00:00
midi-node.c spa: remove control type from formats 2025-06-18 15:23:16 +02:00
midi-parser.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
midi-server.c bluez5: fix some coverity issues 2025-06-14 14:34:55 +03:00
midi.h spa: bluez: include gio/gunixfdlist.h 2023-02-16 20:55:55 +01:00
modemmanager.c spa: bluez: fix crash when receiving signal from modemmanager 2024-06-15 10:11:38 -07:00
modemmanager.h spa: bluez: modemmanager: do not use old style declaration 2023-07-03 19:40:31 +02:00
org.bluez.xml bluez5: add GDBus-based object monitor framework 2023-01-24 08:27:56 +00:00
player.c spa: move dbus helpers out of bluez plugin 2024-02-05 13:03:20 +00:00
player.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
plugin.c spa: export log topic enumerations 2024-01-04 10:02:55 +00:00
quirks.c bluez5: reduce quirks logspam 2024-11-04 21:41:24 +02:00
rate-control.h bluez5: iso-io: track and apply corrections to tx latency 2024-04-12 18:50:15 +03:00
README-MIDI.md bluez5: fixup BLE MIDI selinux README 2023-01-24 08:27:56 +00:00
README-OPUS-A2DP.md bluez5: clarify OPUS-A2DP spec 2022-09-03 19:08:27 +00:00
README-SBC-XQ.md bluez5: add SBC XQ readme 2021-01-07 09:54:16 +01:00
README-Telephony.md bluez: org.freedesktop.PipeWire -> org.pipewire 2025-02-05 10:18:17 +01:00
rtp.h Add bluez5 plugins 2018-01-16 15:19:55 +01:00
sco-io.c bluez5: drop old SCO fragment data when sink starts 2025-06-21 16:13:57 +03:00
telephony.c bluez5: backend-native: Add volume support to HFP HF 2025-03-12 11:01:50 +01:00
telephony.h bluez5: backend-native: Add volume support to HFP HF 2025-03-12 11:01:50 +01:00
test-midi.c bluez5: a few more -Werror=strict-prototypes fixes 2023-01-24 11:14:27 +02:00
upower.c spa: move dbus helpers out of bluez plugin 2024-02-05 13:03:20 +00:00
upower.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00