Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: saker <sakertooth@gmail.com>
  • Loading branch information
messmerd and sakertooth authored Sep 20, 2024
1 parent 5523488 commit 6f3ec8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/PeakControllerEffect/PeakControllerEffect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Effect::ProcessStatus PeakControllerEffect::processImpl(SampleFrame* buf, const
}
}

float curRMS = sqrt_neg( sum / frames );
float curRMS = sqrt_neg(sum / frames);
const float tres = c.m_tresholdModel.value();
const float amount = c.m_amountModel.value() * c.m_amountMultModel.value();
curRMS = qAbs( curRMS ) < tres ? 0.0f : curRMS;
Expand Down
2 changes: 1 addition & 1 deletion plugins/StereoEnhancer/StereoEnhancer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Effect::ProcessStatus StereoEnhancerEffect::processImpl(SampleFrame* buf, const
const float d = dryLevel();
const float w = wetLevel();

for( fpp_t f = 0; f < frames; ++f )
for (fpp_t f = 0; f < frames; ++f)
{

// copy samples into the delay buffer
Expand Down

0 comments on commit 6f3ec8c

Please sign in to comment.