The default test case in resampler-test is to run the auto resample method with some test samples from a rate of 44100Hz to a rate of 44100Hz. When the rates are equal our resamlper automatically chooses to use the 'copy' resamlpe method (that is no resampling is done). This is quite useless as our default test case (which is run by make check), so change the rates to something more sensible. --- src/tests/resampler-test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tests/resampler-test.c b/src/tests/resampler-test.c index 84c21ad..d70fba5 100644 --- a/src/tests/resampler-test.c +++ b/src/tests/resampler-test.c @@ -358,7 +358,8 @@ int main(int argc, char *argv[]) { pa_assert_se(pool = pa_mempool_new(false, 0)); a.channels = b.channels = 1; - a.rate = b.rate = 44100; + a.rate = 44100; + b.rate = 96000; a.format = b.format = PA_SAMPLE_S16LE; method = PA_RESAMPLER_AUTO; -- 1.8.4.2