module-loopback improvements
At the moment the loopback module handles mono capture streams not as expected. What I want to have is a flexible input to my audio system. On my system I'm using a loopback module to map a mono or stereo capture input to a stereo playback output. But when I set audio.position = [ FL FR ] at the playback section and no audio.position property at the capture section a mono source is only pushed to the FL channel. I could also set [MONO MONO] on the capture session but then I cannot use this loopback for stereo inputs.
I would expect that a MONO input will be played on all output channels when there is no channel mapping set.
What do you think about this?
I have also tried the combine-stream module because there I could set a match pattern and a stream create action with a channel map for the mono and stereo case but with this module I had a lot of troubles from robot voice to no voice when I do relinking the inputs and outputs.
What I have seen is that the combine-stream is very fragile when linkes are removed or changed by a session manager like wireplumber.