Browse Source

Fix meters

pull/2/head
falkTX 8 years ago
parent
commit
b689462a3f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      plugins/Meters/ExamplePluginMeters.cpp

+ 2
- 2
plugins/Meters/ExamplePluginMeters.cpp View File

@@ -185,13 +185,13 @@ protected:
for (uint32_t i=0; i<frames; ++i)
{
// left
tmp = std::abs(outputs[0][i]);
tmp = std::abs(inputs[0][i]);
if (tmp > tmpLeft)
tmpLeft = tmp;
// right
tmp = std::abs(outputs[1][i]);
tmp = std::abs(inputs[1][i]);
if (tmp > tmpRight)
tmpRight = tmp;


Loading…
Cancel
Save