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 spa: use log topics 2021-10-13 10:48:23 +02:00
audioconvert.c spa: use log topics 2021-10-13 10:48:23 +02:00
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 spa: use log topics 2021-10-13 10:48:23 +02:00
crossover.c
crossover.h
fmt-ops-avx2.c
fmt-ops-c.c
fmt-ops-neon.c audioconvert: fix compilation on armv7 2021-11-11 11:21:07 +01:00
fmt-ops-sse2.c
fmt-ops-sse41.c
fmt-ops-ssse3.c
fmt-ops.c audioconvert: add stereo deinterleave neon asm 2021-10-28 11:30:04 +02:00
fmt-ops.h audioconvert: add stereo deinterleave neon asm 2021-10-28 11:30:04 +02:00
fmtconvert.c spa: use log topics 2021-10-13 10:48:23 +02:00
law.h
merger.c spa: use log topics 2021-10-13 10:48:23 +02:00
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: add some float math optimization 2021-10-18 21:19:43 +02:00
resample-peaks-impl.h
resample-peaks-sse.c
resample-peaks.c
resample.c resample: improve buffer size calculations 2021-11-16 11:48:02 +01:00
resample.h
spa-resample.c spa-resample: add some verbose info messages 2021-09-29 10:16:25 +02:00
splitter.c spa: use log topics 2021-10-13 10:48:23 +02:00
test-audioadapter.c
test-audioconvert.c
test-channelmix.c
test-fmt-ops.c Use uint16_t instead of int16_t to fix a compiler warning. 2021-10-22 19:05:18 +03:00
test-helper.h
test-resample.c
test-source.c
volume-ops-c.c
volume-ops-sse.c
volume-ops.c
volume-ops.h