summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--muse/synti/organ/organ.cpp2
-rw-r--r--muse/synti/organ/reverb.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/muse/synti/organ/organ.cpp b/muse/synti/organ/organ.cpp
index 1f6eede4..50477cc7 100644
--- a/muse/synti/organ/organ.cpp
+++ b/muse/synti/organ/organ.cpp
@@ -226,7 +226,7 @@ void Organ::process(float** ports, int offset, int sampleCount)
}
float* buffer1 = ports[0] + offset;
- float* buffer2 = ports[0] + offset;
+ float* buffer2 = ports[1] + offset;
memset(buffer1, 0, sizeof(float) * sampleCount);
memset(buffer2, 0, sizeof(float) * sampleCount);
diff --git a/muse/synti/organ/reverb.cpp b/muse/synti/organ/reverb.cpp
index 0ec29514..18376a8f 100644
--- a/muse/synti/organ/reverb.cpp
+++ b/muse/synti/organ/reverb.cpp
@@ -137,8 +137,8 @@ void Reverb::setMix(float value)
void Reverb::process(float* l, float* r, int n)
{
- float wet = wetLevel;
- float dry = 1.0 - wetLevel;
+ float wet = wetLevel;
+ float dry = 1.0 - wetLevel;
for (int i = 0; i < n; ++i) {
float outL = 0.0;