summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/upmixer_a.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/upmixer_a.cc b/src/lib/upmixer_a.cc
index a5850cf94..0479f16b2 100644
--- a/src/lib/upmixer_a.cc
+++ b/src/lib/upmixer_a.cc
@@ -71,10 +71,10 @@ UpmixerA::run (shared_ptr<const AudioBuffers> in, int channels)
shared_ptr<AudioBuffers> in_L = in->channel (0);
shared_ptr<AudioBuffers> in_R = in->channel (1);
- /* Mix of L and R */
+ /* Mix of L and R; -6dB down in amplitude (3dB in terms of power) */
shared_ptr<AudioBuffers> in_LR = in_L->clone ();
in_LR->accumulate_frames (in_R.get(), 0, 0, in_R->frames ());
- in_LR->apply_gain (0.5);
+ in_LR->apply_gain (-6);
/* Run filters */
vector<shared_ptr<AudioBuffers> > all_out;