Add keyword to disable channels in profile mappings of multi-channel devices
Submitted by Renne
Assigned to pul..@..op.org
Description
Currently the only way to separate channels of multi-channel devices is module-remap-{source|sink} which is complex to configure and tends to block the operation of Pulseaudio when devices are missing/not connected. It's not possible to publish device-specific profiles using module-remap-{source|sink}.
In profile-mappings it's possible to disable audio-routing by naming channels of a channel-map "aux[0-15]". But the source/sink is still handled as multi-channel device with e.g. 10 channels. Consider an audio-device with 10 output-channels and you want to use only 2 channels...
A channel-map would look like channel-map = left, right, aux2, aux3, aux4, aux5, aux6, aux7, aux8, aux9
PAVUControl doesn't list 2 channels, but 10!
Please add a new keyword - like "none" - to disable a channel completely and to decrease the channel count.
Example:
[Mapping Stereo1] channel-map = left, right, none, none, none, none, none, none, none, none
[Mapping Stereo2] channel-map = none, none, left, right, none, none, none, none, none, none
[Mapping Stereo3] channel-map = none, none, none, none, left, right, none, none, none, none
[Mapping Stereo4] channel-map = none, none, none, none, none, none, left, right, none, none
[Mapping Stereo5] channel-map = none, none, none, none, none, none, none, none, left, right
would allow to use one multi-channel sink with 10 channels as 5 stereo sinks.