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

Method CheckboxUpdated

Source/LiveGranulator.cpp:178–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178void LiveGranulator::CheckboxUpdated(Checkbox* checkbox, double time)
179{
180 if (checkbox == mEnabledCheckbox)
181 mBuffer.ClearBuffer();
182 if (checkbox == mFreezeCheckbox)
183 {
184 mFreezeExtraSamples = 0;
185 if (mFreeze)
186 {
187 mEnabled = true;
188 Freeze();
189 }
190 }
191}
192
193void LiveGranulator::DropdownUpdated(DropdownList* list, int oldVal, double time)
194{

Callers

nothing calls this directly

Calls 1

ClearBufferMethod · 0.80

Tested by

no test coverage detected