If you uncomment the full list of rates in test_resampler.cpp:
const size_t supported_rates[] = {
// FIXME: the following tests fail with full range of rates:
// - supported_scalings: builtin resampler panics on some rates
// - scaling_trend: fails on some rates
// 8000, 11025, 16000, 22050, 44100, 48000, 88200, 96000
44100, 48000
};
You'll get two problems:
in supported_scalings test, builtin resampler will panic when input and output rates differ significantly
scaling_trend test will fail on some rate combinations
If you uncomment the full list of rates in test_resampler.cpp:
You'll get two problems:
supported_scalings
test, builtin resampler will panic when input and output rates differ significantlyscaling_trend
test will fail on some rate combinationsPanic stacktrace: