pipewire/spa
Arun Raghavan 019b53ace8 spa: alsa: Try to get driver rate before setting up matching
In some cases, it is possible that the follower shares a clock with the
driver, but the driver rate is not known when the follower is assigned
to the driver. If this happens, then state->driver_rate is 0, and when
setting the format, we might think that we need to resample (because
follower rate != driver rate). This can cause us to incorrectly halve
the period size for the node.

This was introduced in commit 0b67c10a9c,
which forces reevaluation of matching status on driver change.

To avoid this, let us also probe for the driver rate when updating the
matching status, so we can make the update more accurate.
2025-07-03 19:02:02 +00:00
..
examples Port videotestsrc to LoopUtils 2024-07-01 15:28:14 +00:00
include spa: add helper to determine if a video format is RGB 2025-06-27 12:57:01 +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 spa: alsa: Try to get driver rate before setting up matching 2025-07-03 19:02:02 +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