| 140 | } |
| 141 | |
| 142 | void SynthController::_updateCurrentEventIndex() |
| 143 | { |
| 144 | mCurrentEventIndex = std::lower_bound(mEvents.begin(), |
| 145 | mEvents.end(), |
| 146 | mCurrentTime, |
| 147 | [](const MidiMessage& a, double b) { return (a.getTimeStamp() < b); }) |
| 148 | - mEvents.begin(); |
| 149 | } |
| 150 | |
| 151 | bool SynthController::_isNextOnOffEventNoteOff(int inMidiNote) |
| 152 | { |
nothing calls this directly
no outgoing calls
no test coverage detected