Don't drop MIDI messages that arrive at the very start of a JACK buffer, and add a temporary warning message to indicate when such drops happen.
git-svn-id: svn://localhost/ardour2/branches/3.0@7582 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
3cce57d490
commit
507e996d06
@ -80,8 +80,10 @@ MidiPort::get_midi_buffer (nframes_t nframes, nframes_t offset)
|
||||
continue;
|
||||
}
|
||||
|
||||
if (ev.time > off && ev.time < off+nframes) {
|
||||
if (ev.time >= off && ev.time < off+nframes) {
|
||||
_buffer->push_back (ev);
|
||||
} else {
|
||||
cerr << "Dropping incoming MIDI at time " << ev.time << "; offset=" << off << " limit=" << (off + nframes) << "\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user