diff options
author | Carl Hetherington <carl@carlh.net> | 2010-08-18 12:19:30 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-08-18 12:19:30 +0000 |
commit | 257ec6472061e6383fb53c7678fdec1a47f0f8c2 (patch) | |
tree | d6c8d866165bc9df06601869e6a3b66cdf813fe3 /libs/ardour/midi_port.cc | |
parent | f9d0879e868cfab2e8ebd25803bdfa14a3f70426 (diff) |
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
Diffstat (limited to 'libs/ardour/midi_port.cc')
-rw-r--r-- | libs/ardour/midi_port.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/midi_port.cc b/libs/ardour/midi_port.cc index 1e5cecfb10..5d04457832 100644 --- a/libs/ardour/midi_port.cc +++ b/libs/ardour/midi_port.cc @@ -78,7 +78,7 @@ MidiPort::get_midi_buffer (nframes_t nframes, nframes_t offset) continue; } - if (ev.time > offset && ev.time < (offset + nframes)) { + if (ev.time >= offset && ev.time < (offset + nframes)) { _buffer->push_back (ev); } else { cerr << "Dropping incoming MIDI at time " << ev.time << "; offset=" << offset << " limit=" << (offset + nframes) << "\n"; |