From 464828faf26ce717375f4b35583349e4ab2c16c9 Mon Sep 17 00:00:00 2001 From: Alexander Patrakov Date: Tue, 10 Dec 2019 06:50:59 +0000 Subject: [PATCH] Split the enable-lfe-remixing setting into two remixing-produce-lfe controls upmixing, and remixing-consume-lfe controls downmixing. The motivation is that a user might want to synthesize LFE while playing stereo audio on his/her 5.1 speakers, but at the same time follow the industry recommendation to omit the LFE channel when producting a stereo downmix (e.g. for headphones) from 5.1 content. Or the other way round. Fixes: #753. --- man/pulse-daemon.conf.5.xml.in | 29 +++++++++++++----- src/daemon/daemon-conf.c | 54 +++++++++++++++++++++++++++++++--- src/daemon/daemon-conf.h | 3 +- src/daemon/daemon.conf.in | 3 +- src/daemon/main.c | 3 +- src/pulsecore/core.c | 3 +- src/pulsecore/core.h | 3 +- src/pulsecore/resampler.c | 4 +-- src/pulsecore/resampler.h | 3 +- src/pulsecore/sink-input.c | 6 ++-- src/pulsecore/source-output.c | 6 ++-- src/tests/remix-test.c | 10 +++++-- 12 files changed, 101 insertions(+), 26 deletions(-) diff --git a/man/pulse-daemon.conf.5.xml.in b/man/pulse-daemon.conf.5.xml.in index 1436126b0..7cb4009e1 100644 --- a/man/pulse-daemon.conf.5.xml.in +++ b/man/pulse-daemon.conf.5.xml.in @@ -147,13 +147,28 @@ License along with PulseAudio; if not, see . + + + +