pipewire/spa/plugins/audioconvert
Wim Taymans 8971c488f3 audioconvert: add zeroramp and gap detection to audioconvert
Make a new zeroramp.duration and zeroramp.gap property on audioconver.
It detects N samples of silence before triggering a fade-in or fade-out
of the given zeroramp.duration.

The zeroramp.duration is by default 5ms and zeroramp.gap is set to 0.

When the zeroramp.gap is set to 0, the audioconver will not do any gap
detection but it will only do fade-out from the last sample when the IO
Buffer area is removed from a port.

This by default makes the audio adapter perform a fade-out when the last
input of the port mixer was removed and the mixer is no longer scheduled
and the IO Area removed from the audioconverter input port.
2026-06-17 17:11:42 +02:00
..
audioadapter.c adapter: use internalFormat for EnumFormat and Format 2026-06-15 11:12:43 +02:00
audioconvert.c audioconvert: add zeroramp and gap detection to audioconvert 2026-06-17 17:11:42 +02:00
benchmark-fmt-ops.c spa: audioconvert: benchmark-fmt-ops: initialize convert 2026-03-24 17:50:51 +01:00
benchmark-resample.c audioconvert: also benchmark the inter versions 2026-04-23 09:38:01 +02:00
biquad.c audioconvert: align low-/highpass calculations 2024-12-20 11:03:43 +01:00
biquad.h audioconvert: use the same biquad as filter-chain 2024-11-27 16:47:53 +01:00
channelmix-ops-avx.c channelmix: Convert matrices to float arrays 2026-05-12 14:47:57 +02:00
channelmix-ops-c.c channelmix: Convert matrices to float arrays 2026-05-12 14:47:57 +02:00
channelmix-ops-sse.c channelmix: Convert matrices to float arrays 2026-05-12 14:47:57 +02:00
channelmix-ops.c channelmix: Convert matrices to float arrays 2026-05-12 14:47:57 +02:00
channelmix-ops.h channelmix: Convert matrices to float arrays 2026-05-12 14:47:57 +02:00
crossover.c audioconvert: use the same biquad as filter-chain 2024-11-27 16:47:53 +01:00
crossover.h audioconvert: use the same biquad as filter-chain 2024-11-27 16:47:53 +01:00
dbesi0.c resample: make window configurable 2025-11-20 14:07:14 +01:00
fmt-ops-avx2.c audioconvert: add avx2 optimized s32_to f32d 2026-03-20 17:57:59 +01:00
fmt-ops-c.c audioconvert: add clear function 2025-07-02 10:27:26 +02:00
fmt-ops-neon.c audioconvert: fix typo in neon function 2023-08-24 13:45:11 +02:00
fmt-ops-rvv.c fmt-ops: add RVV optimizations for s32_to_f32d 2024-09-29 11:17:42 +08:00
fmt-ops-sse2.c fmt-ops: make function static 2026-03-19 16:36:11 +01:00
fmt-ops-sse41.c audioconvert: avoid unaligned read 2023-10-15 22:20:54 +02:00
fmt-ops-ssse3.c Adds explanation to reduce chance of regressing the fix 2025-12-15 08:20:24 +00:00
fmt-ops.c audioconvert: add dither noise even on empty input 2026-05-14 11:19:02 +02:00
fmt-ops.h audioconvert: add dither noise even on empty input 2026-05-14 11:19:02 +02:00
gaps-ops-c.c audioconvert: add zeroramp and gap detection to audioconvert 2026-06-17 17:11:42 +02:00
gaps-ops.c audioconvert: add zeroramp and gap detection to audioconvert 2026-06-17 17:11:42 +02:00
gaps-ops.h audioconvert: add zeroramp and gap detection to audioconvert 2026-06-17 17:11:42 +02:00
hilbert.h *: don't include standard C headers inside of extern "C" 2025-05-30 09:48:28 +01:00
law.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
meson.build audioconvert: add zeroramp and gap detection to audioconvert 2026-06-17 17:11:42 +02:00
peaks-ops-c.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
peaks-ops-sse.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
peaks-ops.c audioconvert: add avx2 optimized s32_to f32d 2026-03-20 17:57:59 +01:00
peaks-ops.h audioconvert: add avx2 optimized s32_to f32d 2026-03-20 17:57:59 +01:00
plugin.c spa: export log topic enumerations 2024-01-04 10:02:55 +00:00
resample-native-avx2.c resample: use some extra accumulators to improve pipelining 2026-04-23 09:32:31 +02:00
resample-native-c.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
resample-native-impl.h resample: add bool to force inter resampler 2026-01-16 11:03:43 +01:00
resample-native-neon.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
resample-native-sse.c resample: use some extra accumulators to improve pipelining 2026-04-23 09:32:31 +02:00
resample-native-ssse3.c resample: use some extra accumulators to improve pipelining 2026-04-23 09:32:31 +02:00
resample-native.c audioconvert: reuse hist_mem as window scratch space 2026-05-04 16:26:20 +02:00
resample-peaks.c spa: add and use spa_overflow macros 2026-04-24 15:55:35 +02:00
resample.h audioconvert: add avx2 optimized s32_to f32d 2026-03-20 17:57:59 +01:00
spa-resample-dump-coeffs.c resampler: Precompute some common filter coefficients 2024-08-08 00:30:24 -04:00
spa-resample.c spa-resample: enable clipping in sndfile 2025-12-09 13:55:37 +01:00
test-audioadapter.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
test-audioconvert.c mixer-dsp: add support for fade-in and fade-out 2026-06-17 17:06:17 +02:00
test-channelmix.c channelmix: Convert matrices to float arrays 2026-05-12 14:47:57 +02:00
test-fmt-ops.c spa: audioconvert: test-fmt-ops: initialize convert 2026-03-24 17:38:26 +01:00
test-peaks.c Fix compilation with -Werror=float-conversion 2024-06-18 12:17:56 +02:00
test-resample-delay.c audioconvert: resampler: change resample_phase() unit to input samples 2025-01-19 17:11:13 +02:00
test-resample.c resample: use fixed point for resample phase and input rate 2025-07-30 07:59:52 +00:00
test-source.c spa: use log topics everywhere 2024-03-11 18:45:21 +02:00
volume-ops-c.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
volume-ops-sse.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
volume-ops.c audioconvert: add avx2 optimized s32_to f32d 2026-03-20 17:57:59 +01:00
volume-ops.h audioconvert: add avx2 optimized s32_to f32d 2026-03-20 17:57:59 +01:00
wavfile.c wav: fix build 2023-03-09 17:09:47 +01:00
wavfile.h wav: fix build 2023-03-09 17:09:47 +01:00