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

Method CheckboxUpdated

Source/DelayEffect.cpp:205–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205void DelayEffect::CheckboxUpdated(Checkbox* checkbox, double time)
206{
207 if (checkbox == mShortTimeCheckbox)
208 SetShortMode(mShortTime);
209 if (checkbox == mEnabledCheckbox)
210 {
211 if (!mEnabled)
212 mDelayBuffer.ClearBuffer();
213 }
214}
215
216void DelayEffect::FloatSliderUpdated(FloatSlider* slider, float oldVal, double time)
217{

Callers

nothing calls this directly

Calls 1

ClearBufferMethod · 0.80

Tested by

no test coverage detected