Fix regression accidentally introduced in last commit to this file.
git-svn-id: svn://localhost/ardour2/branches/3.0@7647 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
f9d0879e86
commit
257ec64720
@ -78,7 +78,7 @@ MidiPort::get_midi_buffer (nframes_t nframes, nframes_t offset)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ev.time > offset && ev.time < (offset + nframes)) {
|
if (ev.time >= offset && ev.time < (offset + nframes)) {
|
||||||
_buffer->push_back (ev);
|
_buffer->push_back (ev);
|
||||||
} else {
|
} else {
|
||||||
cerr << "Dropping incoming MIDI at time " << ev.time << "; offset=" << offset << " limit=" << (offset + nframes) << "\n";
|
cerr << "Dropping incoming MIDI at time " << ev.time << "; offset=" << offset << " limit=" << (offset + nframes) << "\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user