audioconvert: remove speex resampler

It's slower and less accurate then the native one.
This commit is contained in:
Wim Taymans 2019-08-07 13:06:14 +02:00
parent 447d1f94bf
commit 6f8268df40
5 changed files with 3 additions and 103 deletions

View file

@ -31,7 +31,6 @@
#include "resample.h"
#include "resample-native.h"
#include "resample-speex.h"
#define MAX_SAMPLES 4096
#define MAX_CHANNELS 11
@ -176,16 +175,6 @@ int main(int argc, char *argv[])
}
#endif
for (i = 0; i < SPA_N_ELEMENTS(in_rates); i++) {
spa_zero(r);
r.channels = 2;
r.i_rate = in_rates[i];
r.o_rate = out_rates[i];
impl_speex_init(&r);
run_test("speex", "def", &r);
resample_free(&r);
}
qsort(results, n_results, sizeof(struct stats), compare_func);
for (i = 0; i < n_results; i++) {