| 301 | } |
| 302 | |
| 303 | void NoteLooper::CheckboxUpdated(Checkbox* checkbox, double time) |
| 304 | { |
| 305 | if (checkbox == mEnabledCheckbox) |
| 306 | { |
| 307 | for (int i = 0; i < (int)mCurrentNotes.size(); ++i) |
| 308 | { |
| 309 | if (mCurrentNotes[i] != nullptr) |
| 310 | { |
| 311 | mNoteOutput.PlayNote(time, i, 0, mCurrentNotes[i]->GetVoiceIdx()); |
| 312 | mCurrentNotes[i] = nullptr; |
| 313 | } |
| 314 | } |
| 315 | } |
| 316 | } |
| 317 | |
| 318 | void NoteLooper::FloatSliderUpdated(FloatSlider* slider, float oldVal, double time) |
| 319 | { |
nothing calls this directly
no test coverage detected