| 176 | } |
| 177 | |
| 178 | void 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 | |
| 193 | void LiveGranulator::DropdownUpdated(DropdownList* list, int oldVal, double time) |
| 194 | { |
nothing calls this directly
no test coverage detected