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

Method SetUpFromSaveData

Source/AudioMeter.cpp:103–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103void AudioMeter::SetUpFromSaveData()
104{
105 SetTarget(TheSynth->FindModule(mModuleSaveData.GetString("target")));
106 mMaxLevel = mModuleSaveData.GetFloat("maxlevel");
107 mLevelSlider->SetExtents(0, mMaxLevel);
108 mLevelMeterDisplay.SetLimit(mMaxLevel);
109}

Callers

nothing calls this directly

Calls 5

GetStringMethod · 0.80
GetFloatMethod · 0.80
FindModuleMethod · 0.45
SetExtentsMethod · 0.45
SetLimitMethod · 0.45

Tested by

no test coverage detected