pipewire/spa/plugins/audioconvert
Wim Taymans f10b872733 resample: improve buffer size calculations
Scale the buffer size with the rate conversion ratio. Also make sure
that we can at least produce a maximum quantum of samples.

If we have large upconversion (8KH -> 48KHz) and small input
buffers, we would not allocate enough space for the output buffer
and cause xruns in the sink.

Fixes #1809
2021-11-16 11:48:02 +01:00
..
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
channelmix.c
crossover.c
crossover.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
fmtconvert.c
law.h
merger.c
meson.build
plugin.c
resample-native-avx.c
resample-native-impl.h
resample-native-neon.c
resample-native-sse.c
resample-native-ssse3.c
resample-native.c
resample-peaks-impl.h
resample-peaks-sse.c
resample-peaks.c
resample.c
resample.h
spa-resample.c
splitter.c
test-audioadapter.c
test-audioconvert.c
test-channelmix.c
test-fmt-ops.c
test-helper.h
test-resample.c
test-source.c
volume-ops-c.c
volume-ops-sse.c
volume-ops.c
volume-ops.h