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

Method LevelMeterDisplay

Source/LevelMeterDisplay.cpp:29–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27#include "SynthGlobals.h"
28
29LevelMeterDisplay::LevelMeterDisplay()
30{
31 for (size_t i = 0; i < mLevelMeters.size(); ++i)
32 {
33 mLevelMeters[i].mPeakTrackerSlow.SetDecayTime(3);
34 mLevelMeters[i].mPeakTrackerSlow.SetLimit(1);
35 }
36}
37
38LevelMeterDisplay::~LevelMeterDisplay()
39{

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.80
SetDecayTimeMethod · 0.80
SetLimitMethod · 0.45

Tested by

no test coverage detected