mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-29 07:58:06 -04:00
While this is quite fast on x86 (order of a few microseconds), the computation can take a few milliseconds on ARM (measured at 1.9ms (32000 -> 48000) and 3.3ms (32000 -> 44100) on a Cortex A53). Let's precompute some common rates so that we can avoid this overhead on each stream (or any other audioconvert) instantiation. The approach taken here is to write a little program to create the resampler instance, and run that on the host at compile-time to generate some common rate conversions. |
||
|---|---|---|
| .. | ||
| audioadapter.c | ||
| audioconvert.c | ||
| benchmark-fmt-ops.c | ||
| benchmark-resample.c | ||
| biquad.c | ||
| biquad.h | ||
| channelmix-ops-c.c | ||
| channelmix-ops-sse.c | ||
| channelmix-ops.c | ||
| channelmix-ops.h | ||
| crossover.c | ||
| crossover.h | ||
| delay.h | ||
| fmt-ops-avx2.c | ||
| fmt-ops-c.c | ||
| fmt-ops-neon.c | ||
| fmt-ops-sse2.c | ||
| fmt-ops-sse41.c | ||
| fmt-ops-ssse3.c | ||
| fmt-ops.c | ||
| fmt-ops.h | ||
| hilbert.h | ||
| law.h | ||
| meson.build | ||
| peaks-ops-c.c | ||
| peaks-ops-sse.c | ||
| peaks-ops.c | ||
| peaks-ops.h | ||
| plugin.c | ||
| resample-native-avx.c | ||
| resample-native-c.c | ||
| resample-native-impl.h | ||
| resample-native-neon.c | ||
| resample-native-sse.c | ||
| resample-native-ssse3.c | ||
| resample-native.c | ||
| resample-peaks.c | ||
| resample.h | ||
| spa-resample-dump-coeffs.c | ||
| spa-resample.c | ||
| test-audioadapter.c | ||
| test-audioconvert.c | ||
| test-channelmix.c | ||
| test-fmt-ops.c | ||
| test-peaks.c | ||
| test-resample.c | ||
| test-source.c | ||
| volume-ops-c.c | ||
| volume-ops-sse.c | ||
| volume-ops.c | ||
| volume-ops.h | ||
| wavfile.c | ||
| wavfile.h | ||