MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / UpdateCoefficientsIfNecessary

Method UpdateCoefficientsIfNecessary

Source/EQModule.cpp:334–346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332}
333
334bool EQModule::Filter::UpdateCoefficientsIfNecessary()
335{
336 if (mNeedToCalculateCoefficients)
337 {
338 mFilter[0].UpdateFilterCoeff();
339 for (size_t ch = 1; ch < mFilter.size(); ++ch)
340 mFilter[ch].CopyCoeffFrom(mFilter[0]);
341 mNeedToCalculateCoefficients = false;
342 return true;
343 }
344
345 return false;
346}
347
348void EQModule::OnClicked(float x, float y, bool right)
349{

Callers 1

ProcessMethod · 0.80

Calls 3

UpdateFilterCoeffMethod · 0.80
sizeMethod · 0.80
CopyCoeffFromMethod · 0.45

Tested by

no test coverage detected