Pulseaudio - 如何将多个通道复用为一个通道?

Pulseaudio - How can multiplexing multiple channels into one?

我正在尝试将多个接收器多路复用(mux)到一个接收器中。如下图

[sink #1 / 2ch] - (left)   ---- (front left)  - [sink #3 / 4ch]  
                └ (right)  ---- (front right) ┘  
[sink #2 / 2ch] - (left)   ---- (rear left)   ┘  
                └ (right)  ---- (rear right)  ┘  

据我所知,有 module-remap-sink,但我认为那是为了多路分解。
那么,上面的mux有没有办法实现呢?

我可以意识到只需使用 module-loopback。如下图

pactl load-module module-null-sink sink_name=playback1 channels=2 channel_map=front-left,front-right sink_properties=device.description=playback1
pactl load-module module-null-sink sink_name=playback2 channels=2 channel_map=rear-left,rear-right sink_properties=device.description=playback2

pactl load-module module-loopback latency_msec=30 channels=2 channel_map=front-left,front-right source=playback1.monitor remix=no sink=FOUR_CH_SINK
pactl load-module module-loopback latency_msec=30 channels=2 channel_map=rear-left,rear-right source=playback2.monitor remix=no sink=FOUR_CH_SINK