| 106 | } |
| 107 | |
| 108 | void CtrlrPanelMIDIInputThread::handleMIDIFromHost(MidiBuffer &buffer) |
| 109 | { |
| 110 | { |
| 111 | const ScopedWriteLock sl(lock); |
| 112 | /* last event time is in samples, not event numbers you dumbass */ |
| 113 | hostInputBuffer.addEvents (buffer, 0, buffer.getLastEventTime() + 1, 1); |
| 114 | } |
| 115 | |
| 116 | notify(); |
| 117 | } |
| 118 | |
| 119 | void CtrlrPanelMIDIInputThread::closeInputDevice() |
| 120 | { |
no test coverage detected