combine-sink: Add remix modarg

System Internals / PulseAudio - Igor V. Kovalenko [gmail.com] - 8 September 2021 15:16 UTC

When module-combine-sink is used to create virtual surround card it is expected that each slave channel receives data for exactly one combined sink channel. Currently this is not the case because module-combine-sink would follow core->disable_remixing setting. Usually this means that multiple channels of combined sink are getting remixed into slave channel, and there is no option to disable this behavior just for combined sink.

Improve this by implementing "remix" modarg for module-combine-sink, default to original behavior (follow core->disable_remixing setting).

Part-of:

c94a3a9fb combine-sink: Add remix modarg
src/modules/module-combine-sink.c | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share