Automatically create remap/null-sink devices for muiltichannel interfaces
When using an audio-interface with multiple mono in- and outputs with PulseAudio, one needed to create remapped sources & sinks to limit the channels PulseAudio uses for in- and output.
E.g. with something the following config lines in default.pa
:
load-module module-remap-source master=<alsa_input...> master_channel_map=front-left channels=1 source_name=In remix=no
load-module module-remap-sink master=<alsa_output...> master_channel_map=front-left,front-right channels=2 sink_name=Out
With pipewire I've got no idea how to handle such devices. Are there any options to automatically create such remapped in- and outputs for multichannel devices?
Biggest problem is that pw merges multiple mono inputs to stereo inputs (as PulseAudio did), which makes no sense.