summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBe <be@mixxx.org>2018-06-11 22:51:56 -0500
committerBe <be@mixxx.org>2018-06-12 09:48:18 -0500
commited5b3792caa1f59be7220cbe51d88670df6c994e (patch)
tree4bff6e8832dc97468c48c502adfd151a94970563 /lib
parent706c4534d688dd5c47b3f313327e8a70f9ab6bab (diff)
do not mix dry bypass for first Echo or Reverb in D+W mode chain
This fixes Reverb adding +6 dB when used alone in a D+W chain without Echo before it.
Diffstat (limited to 'lib')
-rw-r--r--lib/reverb/Reverb.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/reverb/Reverb.cc b/lib/reverb/Reverb.cc
index 30b5dad5dd..ca5b8f03f8 100644
--- a/lib/reverb/Reverb.cc
+++ b/lib/reverb/Reverb.cc
@@ -455,10 +455,7 @@ void MixxxPlateX2::processBuffer(const sample_t* in, sample_t* out, const uint f
// loop through the buffer, processing each sample
for (uint i = 0; i + 1 < frames; i += 2) {
sample_t mono_sample = blend * (in[i] + in[i + 1]) / 2;
- sample_t xl, xr;
- PlateStub::process(mono_sample, decay, &xl, &xr);
- out[i] = xl + in[i];
- out[i + 1] = xr + in[i + 1];
+ PlateStub::process(mono_sample, decay, &out[i], &out[i+1]);
}
}