Browse Source

Revert a forgotten test change

Signed-off-by: falkTX <falktx@falktx.com>
tags/22.02
falkTX 3 years ago
parent
commit
b637cf4c4e
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      plugins/Cardinal/src/HostAudio.cpp

+ 2
- 2
plugins/Cardinal/src/HostAudio.cpp View File

@@ -120,7 +120,7 @@ struct HostAudio : TerminalModule {
const float gain = numParams != 0 ? std::pow(params[0].getValue(), 2.f) : 1.0f;

// read first value, special case for mono mode
float valueL = inputs[0].getVoltage() * 0.1f;
float valueL = inputs[0].getVoltageSum() * 0.1f;

// Apply DC filter
if (dcFilterEnabled)
@@ -135,7 +135,7 @@ struct HostAudio : TerminalModule {
// read everything else
for (int i=1; i<numInputs; ++i)
{
float v = inputs[i].getVoltage() * 0.1f;
float v = inputs[i].getVoltageSum() * 0.1f;

// Apply DC filter
if (dcFilterEnabled)


Loading…
Cancel
Save