tests: Add resampler rewind test

This patch adds a test program that generates a square wave of a given frequency,
length and sample rate. This is then resampled to another rate, rewound and the
rewound part is run through the resampler again. After that, the results of the
first and second resampler pass are compared.

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/120>
This commit is contained in:
Georg Chini 2021-01-02 22:21:10 +01:00 committed by PulseAudio Marge Bot
parent a37fd7eada
commit 851c377d6b
3 changed files with 440 additions and 0 deletions

1
src/.gitignore vendored
View file

@ -71,6 +71,7 @@ proplist-test
queue-test
remix-test
resampler-test
resampler-rewind-test
rtpoll-test
rtstutter
sig2str-test