pipewire/spa/plugins/audioconvert
Wim Taymans c0727e1efc audioadapter: improve fixation of the format
Keep track of the format as given in the PortConfig.

Instead of blindly fixating the negotiated format to whatever default,
use the PortConfig format to fixate to something better.

This makes the channels/position, rate or format match the PortConfig
format when this is possible and results in the least amount of conversions.

It mostly improves the handling of wildcard formats, were a stream only
specifies some fields and leaves the other free.

A concrete case is WINE that uses the pulseaudio FIX flags to omit the
number of channels and rate. With this change, the stream will negotiate
to the format of the linked sink and obtain the channelmap from it.

See #876
2022-02-21 15:18:20 +01:00
..
audioadapter.c audioadapter: improve fixation of the format 2022-02-21 15:18:20 +01:00
audioconvert.c audioconvert: expose resampler properties 2022-01-18 17:43:44 +01:00
benchmark-fmt-ops.c audioconvert tests: Default to using an installed libspa-support 2020-09-14 18:16:49 +00:00
benchmark-resample.c audioconvert tests: Default to using an installed libspa-support 2020-09-14 18:16:49 +00:00
biquad.c config.h is a local header, not a system one 2021-06-10 09:04:16 +10:00
biquad.h Fix typos 2021-04-30 16:27:34 +00:00
channelmix-ops-c.c audioconvert: run lr4 on tagged channels in generic case 2021-04-26 17:34:14 +02:00
channelmix-ops-sse.c channelmix: normalize volumes 2020-09-03 13:20:36 +02:00
channelmix-ops.c channelmix: dont make FC from synthesized FC 2022-01-11 17:25:38 +01:00
channelmix-ops.h spa: clamp required alignment to cpu alignment 2022-01-28 11:49:06 +01:00
channelmix.c spa: clamp required alignment to cpu alignment 2022-01-28 11:49:06 +01:00
crossover.c config.h is a local header, not a system one 2021-06-10 09:04:16 +10:00
crossover.h audioconvert: add LFE filter 2021-03-17 11:28:40 +01:00
fmt-ops-avx2.c Reverting redundant changes 2020-06-04 10:36:39 +02:00
fmt-ops-c.c audioconvert: add f64 conversion 2022-01-10 13:04:31 +01:00
fmt-ops-neon.c audioconvert: fix compilation on armv7 2021-11-11 11:21:07 +01:00
fmt-ops-sse2.c fmt-ops: add sse2 version of f32 to s16 planar/interleaved 2020-07-03 11:05:26 +02:00
fmt-ops-sse41.c fmt-ops: add avx2 optimized version 2020-03-16 16:11:29 +01:00
fmt-ops-ssse3.c fmt-ops: add avx2 optimized version 2020-03-16 16:11:29 +01:00
fmt-ops.c audioconvert: add f64 conversion 2022-01-10 13:04:31 +01:00
fmt-ops.h spa: clamp required alignment to cpu alignment 2022-01-28 11:49:06 +01:00
fmtconvert.c spa: clamp required alignment to cpu alignment 2022-01-28 11:49:06 +01:00
law.h audioconvert: add converstion to and from alaw/ulaw 2021-08-17 17:32:25 +02:00
merger.c spa: clamp required alignment to cpu alignment 2022-01-28 11:49:06 +01:00
meson.build treewide: meson.build: simplify get_variable() calls 2022-01-17 08:28:53 +00:00
plugin.c adapter: move to SPA plugin 2019-07-10 18:04:59 +02:00
resample-native-avx.c audioconvert: fix native variable rate resampler 2019-04-30 15:14:05 +02:00
resample-native-impl.h audioconvert: move some things around 2020-04-03 18:03:42 +02:00
resample-native-neon.c resample: load more data on aarch64 because we can 2020-06-19 11:47:57 +02:00
resample-native-sse.c audioconvert: add avx optimizations 2019-03-28 16:45:57 +01:00
resample-native-ssse3.c audioconvert: handle more optimizations 2019-03-27 17:58:48 +01:00
resample-native.c resample: add some float math optimization 2021-10-18 21:19:43 +02:00
resample-peaks-impl.h spa: audioconvert: fix allocation size calculation 2022-01-19 02:01:07 +01:00
resample-peaks-sse.c audioconvert: move some things around 2020-04-03 18:03:42 +02:00
resample-peaks.c spa: audioconvert: fix allocation size calculation 2022-01-19 02:01:07 +01:00
resample.c spa: clamp required alignment to cpu alignment 2022-01-28 11:49:06 +01:00
resample.h audioconvert: move some things around 2020-04-03 18:03:42 +02:00
spa-resample.c spa-resample: add option to set CPU flags 2022-01-07 13:25:19 +01:00
splitter.c spa: clamp required alignment to cpu alignment 2022-01-28 11:49:06 +01:00
test-audioadapter.c audioadapter: add support for passthrough mode 2021-08-17 16:01:10 +00:00
test-audioconvert.c test: replace all spa_assert() macros with spa_assert_se() 2021-07-27 10:24:44 +10:00
test-channelmix.c channelmix: dont make FC from synthesized FC 2022-01-11 17:25:38 +01:00
test-fmt-ops.c audioconvert: add f64 conversion 2022-01-10 13:04:31 +01:00
test-helper.h tests: fix some leaks 2020-12-21 20:07:02 +01: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 Use configured quantum_limit instead of hardcoded value 2022-01-12 17:50:12 +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 audioconvert: add volume ops 2021-02-05 15:08:26 +01:00
volume-ops.h spa: clamp required alignment to cpu alignment 2022-01-28 11:49:06 +01:00