pipewire/spa/plugins/audioconvert
Wim Taymans 1d9640af5a spa: Fix audioconvert overflow when scaling
Add SPA_SCALE32_UP that scales a uint32 without overflow.
Use this for scaling the threshold in ALSA.
Fix the scaling in audioconvert of the buffer size, the scaling was
wrong and it was also causing an overflow resulting in choppy sound in
some cases.

See #2680
2023-01-16 18:28:31 +01:00
..
audioadapter.c spa: audioadapter: fix stack-use-after-scope when configuring format 2022-12-10 09:59:08 +00:00
audioconvert.c spa: Fix audioconvert overflow when scaling 2023-01-16 18:28:31 +01:00
benchmark-fmt-ops.c spa: add macro to simplify array iterations some more 2022-09-30 16:24:26 +02:00
benchmark-resample.c audioconvert tests: Default to using an installed libspa-support 2020-09-14 18:16:49 +00:00
biquad.c audioconvert: build C versions with -Ofast and -ffast-math 2022-07-14 10:07:07 +02:00
biquad.h Fix typos 2021-04-30 16:27:34 +00:00
channelmix-ops-c.c channelmix: optimize some more nXm cases 2022-09-29 13:21:23 +02:00
channelmix-ops-sse.c audioconvert: optimize upmix functions with SSE 2022-10-13 10:19:04 +02:00
channelmix-ops.c audioconvert: improve debug output 2022-12-16 19:50:45 +01:00
channelmix-ops.h audioconvert: optimize upmix functions with SSE 2022-10-13 10:19:04 +02:00
crossover.c audioconvert: build C versions with -Ofast and -ffast-math 2022-07-14 10:07:07 +02:00
crossover.h channelmix: improve corssover processing 2022-03-01 09:08:17 +01:00
delay.h audioconvert: add delay to rear channels when upmixing 2022-03-01 09:56:12 +01:00
fmt-ops-avx2.c audioconvert: fix distorted audio on AVX2 2022-12-11 20:16:03 +01:00
fmt-ops-c.c audioconvert: make separate noise functions 2022-09-29 21:36:06 +02:00
fmt-ops-neon.c audioconvert: fix rounding on arm neon 2022-07-21 17:24:55 +02:00
fmt-ops-sse2.c audioconvert: make separate noise functions 2022-09-29 21:36:06 +02:00
fmt-ops-sse41.c audioconvert: simplify 24 bits handling 2022-07-01 12:25:58 +02:00
fmt-ops-ssse3.c audioconvert: simplify 24 bits handling 2022-07-01 12:25:58 +02:00
fmt-ops.c spa: add macro to simplify array iterations some more 2022-09-30 16:24:26 +02:00
fmt-ops.h spa: add macro to simplify array iterations some more 2022-09-30 16:24:26 +02:00
hilbert.h audioconvert: add optional hilbert transform to rear channels 2022-03-01 11:09:43 +01:00
law.h audioconvert: add converstion to and from alaw/ulaw 2021-08-17 17:32:25 +02:00
meson.build audioconvert: add peaks test 2022-09-27 12:14:43 +02:00
peaks-ops-c.c audioconvert: move peaks functions to separate file 2022-09-27 11:25:02 +02:00
peaks-ops-sse.c audioconvert: move peaks functions to separate file 2022-09-27 11:25:02 +02:00
peaks-ops.c spa: add macro to simplify array iterations some more 2022-09-30 16:24:26 +02:00
peaks-ops.h audioconvert: move peaks functions to separate file 2022-09-27 11:25:02 +02:00
plugin.c audioconvert2: rename to audioconvert 2022-06-16 09:19:05 +02:00
resample-native-avx.c audioconvert: refactor peaks resampler 2022-09-07 16:00:31 +02:00
resample-native-c.c audioconvert: refactor peaks resampler 2022-09-07 16:00:31 +02:00
resample-native-impl.h resample: cleanup the resampler core functions 2022-11-20 16:19:24 +01:00
resample-native-neon.c audioconvert: refactor peaks resampler 2022-09-07 16:00:31 +02:00
resample-native-sse.c audioconvert: refactor peaks resampler 2022-09-07 16:00:31 +02:00
resample-native-ssse3.c audioconvert: refactor peaks resampler 2022-09-07 16:00:31 +02:00
resample-native.c Fix various compiler warnings 2022-10-06 12:12:35 -04:00
resample-peaks.c audioconvert: move peaks functions to separate file 2022-09-27 11:25:02 +02:00
resample.h audioconvert: add resample.prefill option 2022-09-19 12:35:49 +02:00
spa-resample.c spa-resample: don't flush too much 2022-07-13 12:02:12 +02:00
test-audioadapter.c audioadapter: add support for passthrough mode 2021-08-17 16:01:10 +00:00
test-audioconvert.c test: add test for 6p1 to 5p1 with remapped REAR 2022-11-09 09:41:21 +01:00
test-channelmix.c test: avoid compiler warnings when SSE is not enabled 2022-11-11 12:09:22 +01:00
test-fmt-ops.c audioconvert: fix rounding on arm neon 2022-07-21 17:24:55 +02:00
test-helper.h tests: fix some leaks 2020-12-21 20:07:02 +01:00
test-peaks.c audioconvert: add peaks test 2022-09-27 12:14:43 +02:00
test-resample.c test: replace all spa_assert() macros with spa_assert_se() 2021-07-27 10:24:44 +10:00
test-source.c Add some more format checks 2022-11-03 13:10:32 +01:00
volume-ops-c.c audioconvert: add volume ops 2021-02-05 15:08:26 +01:00
volume-ops-sse.c audioconvert: add volume ops 2021-02-05 15:08:26 +01:00
volume-ops.c spa: add macro to simplify array iterations some more 2022-09-30 16:24:26 +02:00
volume-ops.h audioconvert: expose the selected function names 2022-06-28 16:50:14 +02:00