mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-18 08:56:45 -05:00
audioconvert: remove speex resampler
It's slower and less accurate then the native one.
This commit is contained in:
parent
447d1f94bf
commit
6f8268df40
5 changed files with 3 additions and 103 deletions
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue