From de2b86957b4af5dc9b5cf7a82d7ba40cd4a79e2e Mon Sep 17 00:00:00 2001 From: Atlante45 Date: Mon, 17 Nov 2014 12:04:45 -0800 Subject: [PATCH] Proportional dry fraction --- interface/src/Audio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/src/Audio.cpp b/interface/src/Audio.cpp index 2dc94e6027..c7de0788a3 100644 --- a/interface/src/Audio.cpp +++ b/interface/src/Audio.cpp @@ -566,8 +566,8 @@ void Audio::setReverbOptions(const AudioEffectOptions* options) { } void Audio::addReverb(int16_t* samplesData, int numSamples, QAudioFormat& audioFormat) { - float dryFraction = DB_CO(_reverbOptions->getDryLevel()); float wetFraction = DB_CO(_reverbOptions->getWetLevel()); + float dryFraction = 1.0f - wetFraction; float lValue,rValue; for (int sample = 0; sample < numSamples; sample += audioFormat.channelCount()) {