pipewire/spa/plugins/audioconvert
Wim Taymans e04e3ef40e audioconvert: fix rate match for sources
Only update the resampler rate when we ask for more data, when we have
more input data, use the previously configured rate to calculate how
many samples we will consume.

Fixes resync errors with multiple sources. One source would do rate
matching, audioconvert would ask it to produce X samples, the source is
scheduled to produce the samples, the rate match is updated with the new
rate correction, audioconvert is scheduled again. It should now use the
X samples it asked to produce and apply the new rate correction for the
next iteration.
2022-08-30 12:43:14 +02:00
..
audioadapter.c audioadapter: ask more data when converter empty 2022-07-05 17:54:44 +02:00
audioconvert.c audioconvert: fix rate match for sources 2022-08-30 12:43:14 +02:00
benchmark-fmt-ops.c audioconvert: implement (de)interleave with existing functions 2022-06-30 18:24:05 +02:00
benchmark-resample.c audioconvert tests: Default to using an installed libspa-support 2020-09-14 18:16:49 +00:00
biquad.c audioconvert: build C versions with -Ofast and -ffast-math 2022-07-14 10:07:07 +02:00
biquad.h Fix typos 2021-04-30 16:27:34 +00:00
channelmix-ops-c.c channelmix: add 3p1_2 and use this for quad conversions 2022-06-13 20:35:00 +02:00
channelmix-ops-sse.c channelmix: add 3p1_2 and use this for quad conversions 2022-06-13 20:35:00 +02:00
channelmix-ops.c channelmix: only produce REAR/SIDE from FC in simple upmix 2022-08-11 09:37:43 +02:00
channelmix-ops.h audioconvert: expose the selected function names 2022-06-28 16:50:14 +02:00
crossover.c audioconvert: build C versions with -Ofast and -ffast-math 2022-07-14 10:07:07 +02:00
crossover.h channelmix: improve corssover processing 2022-03-01 09:08:17 +01:00
delay.h audioconvert: add delay to rear channels when upmixing 2022-03-01 09:56:12 +01:00
fmt-ops-avx2.c audioconvert: remove S32_SCALE 2022-07-20 17:45:34 +02:00
fmt-ops-c.c audioconvert: improve noise bits 2022-07-18 11:41:57 +02:00
fmt-ops-neon.c audioconvert: fix rounding on arm neon 2022-07-21 17:24:55 +02:00
fmt-ops-sse2.c audioconvert: improve noise bits 2022-07-18 11:41:57 +02:00
fmt-ops-sse41.c audioconvert: simplify 24 bits handling 2022-07-01 12:25:58 +02:00
fmt-ops-ssse3.c audioconvert: simplify 24 bits handling 2022-07-01 12:25:58 +02:00
fmt-ops.c audioconvert: improve noise bits 2022-07-18 11:41:57 +02:00
fmt-ops.h audioconvert: remove S32_SCALE 2022-07-20 17:45:34 +02:00
hilbert.h audioconvert: add optional hilbert transform to rear channels 2022-03-01 11:09:43 +01:00
law.h audioconvert: add converstion to and from alaw/ulaw 2021-08-17 17:32:25 +02:00
meson.build meson: remove sse_args from plain c build 2022-07-18 13:00:12 +02:00
plugin.c audioconvert2: rename to audioconvert 2022-06-16 09:19:05 +02:00
resample-native-avx.c audioconvert: fix native variable rate resampler 2019-04-30 15:14:05 +02:00
resample-native-c.c audioconvert: build C versions with -Ofast and -ffast-math 2022-07-14 10:07:07 +02:00
resample-native-impl.h audioconvert: expose the selected function names 2022-06-28 16:50:14 +02:00
resample-native-neon.c resample: load more data on aarch64 because we can 2020-06-19 11:47:57 +02:00
resample-native-sse.c audioconvert: add avx optimizations 2019-03-28 16:45:57 +01:00
resample-native-ssse3.c audioconvert: handle more optimizations 2019-03-27 17:58:48 +01:00
resample-native.c audioconvert: tweak resampler window some more 2022-07-20 10:18:47 +02:00
resample-peaks-c.c audioconvert: build C versions with -Ofast and -ffast-math 2022-07-14 10:07:07 +02:00
resample-peaks-impl.h audioconvert: build C versions with -Ofast and -ffast-math 2022-07-14 10:07:07 +02:00
resample-peaks-sse.c audioconvert: move some things around 2020-04-03 18:03:42 +02:00
resample-peaks.c audioconvert: build C versions with -Ofast and -ffast-math 2022-07-14 10:07:07 +02:00
resample.h audioconvert: expose the selected function names 2022-06-28 16:50:14 +02:00
spa-resample.c spa-resample: don't flush too much 2022-07-13 12:02:12 +02:00
test-audioadapter.c audioadapter: add support for passthrough mode 2021-08-17 16:01:10 +00:00
test-audioconvert.c audioconvert: add different channel remap testcase 2022-07-18 20:33:05 +02:00
test-channelmix.c channelmix: upmix disabled also disables FC and LFE generation 2022-04-04 09:08:54 +02:00
test-fmt-ops.c audioconvert: fix rounding on arm neon 2022-07-21 17:24:55 +02:00
test-helper.h tests: fix some leaks 2020-12-21 20:07:02 +01:00
test-resample.c test: replace all spa_assert() macros with spa_assert_se() 2021-07-27 10:24:44 +10:00
test-source.c spa: Improve PropInfo fields 2022-03-30 17:09:08 +02:00
volume-ops-c.c audioconvert: add volume ops 2021-02-05 15:08:26 +01:00
volume-ops-sse.c audioconvert: add volume ops 2021-02-05 15:08:26 +01:00
volume-ops.c audioconvert: expose the selected function names 2022-06-28 16:50:14 +02:00
volume-ops.h audioconvert: expose the selected function names 2022-06-28 16:50:14 +02:00