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
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