pipewire/spa
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
..
examples Port videotestsrc to LoopUtils 2024-07-01 15:28:14 +00:00
include spa: debug: SPA_TYPE_Id is unsigned 2025-07-12 19:52:43 +00:00
include-private/spa-private spa: move dbus helpers out of bluez plugin 2024-02-05 13:03:20 +00:00
lib spa: add AC3, EAC3, TrueHD, DTS, MPEG-H formats 2025-05-29 21:41:51 +02:00
plugins bluez5: account for driver clock rate difference in rate matching 2025-07-12 19:57:22 +00:00
tests Add GNU/Hurd support 2023-09-24 15:11:52 +00:00
tools spa-json-dump: fix compilation 2025-06-17 18:08:36 +02:00
meson.build spa: allow disabling deps via -Debur128/-Dudev 2025-06-28 07:55:54 +00:00