audioconvert: fix resampler delay value and add test

Resampler delay for N taps is N/2-1 input samples.

Add test that checks this.

When input rate is varying, the resampler also accumulates additional
sub-sample delay. The resampler does not currently have API to report
the instantaneous sub-sample delay.  Add knownfail test for it.
This commit is contained in:
Pauli Virtanen 2025-01-13 18:24:10 +02:00
parent 049ab37a6d
commit 2c2bed2aeb
3 changed files with 284 additions and 1 deletions

View file

@ -185,6 +185,7 @@ test_apps = [
'test-fmt-ops',
'test-peaks',
'test-resample',
'test-resample-delay',
]
foreach a : test_apps