fix typo in panic message, honor event-time.
This commit is contained in:
parent
aa8d512ee7
commit
1fd04baeb3
@ -180,7 +180,7 @@ MidiPort::resolve_notes (void* port_buffer, MidiBuffer::TimeType when)
|
||||
|
||||
ev[1] = MIDI_CTL_ALL_NOTES_OFF;
|
||||
|
||||
if (port_engine.midi_event_put (port_buffer, 0, ev, 3) != 0) {
|
||||
if (port_engine.midi_event_put (port_buffer, when, ev, 3) != 0) {
|
||||
cerr << "failed to deliver ALL NOTES OFF on channel " << (int)channel << " on port " << name() << endl;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user