pipewire/spa/plugins
Wim Taymans 5980f6988a Revert "alsa: also use interpolated time as nsec in IRQ mode"
This reverts commit 49cdb468c2.

We should not do this, the nsec field should be relatable to the clock
monotonic time. If we use the estimated time, without actually using it
as a timer, we might end up with a wakeup time in the future compared to
the MONOTONIC clock time.

Instead, you can use the estimated current time simply by subtracting
the rate corrected duration from the next_nsec. This is really only
useful for some selected use cases (like in the JACK library).

This fixes some issues where in pro-audio mode, a client would try to
compare the current MONOTONIC time to nsec and find that it is in the
past.

This commit was done in an attempt to fix #3657 but it turned out the
real problem was something else.
2023-12-12 13:09:30 +01:00
..
aec aec: support both webrtc versions 2023-09-14 15:35:40 +02:00
alsa Revert "alsa: also use interpolated time as nsec in IRQ mode" 2023-12-12 13:09:30 +01:00
audioconvert audioadapter: don't clear format when EnumFormat changes 2023-10-16 18:23:49 +02:00
audiomixer audioconvert: avoid unaligned writes and left shift of neagtives 2023-10-15 21:12:23 +02:00
audiotestsrc node: update the duration/rate from the target 2023-03-23 18:39:27 +01:00
avb spa: remove unnecessary indirection for some spa_log_topics 2023-10-06 13:08:24 +00:00
bluez5 bluez5: use only one input route 2023-12-09 14:05:50 +02:00
control tweak number of buffers 2023-10-13 14:00:29 +02:00
ffmpeg treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
jack tweak number of buffers 2023-10-13 14:00:29 +02:00
libcamera libcamera: add latency param query 2023-11-20 17:51:27 +01:00
support evl: add fds to pollfd from rt thread 2023-11-24 11:58:28 +01:00
test spa: deduplicate test-helper.h 2023-10-15 16:20:17 +00:00
v4l2 spa: remove unnecessary indirection for some spa_log_topics 2023-10-06 13:08:24 +00:00
videoconvert spa: remove unnecessary indirection for some spa_log_topics 2023-10-06 13:08:24 +00:00
videotestsrc videotestsrc: implement impl_node_set_io to fix segfault while loading 2023-10-26 15:54:10 +02:00
volume volume: Fix inverted check for buffer validity 2023-03-31 08:19:07 +00:00
vulkan vulkan: fix uninitialized writeDescriptor 2023-08-31 10:08:06 +00:00
meson.build build: Restructure vulkan dependency handling and assert headers 2023-10-15 20:32:57 +00:00