13
0

Prevent note trackers for overlapping MIDI regions inserting events that occur before the requested time range, thereby stopping playback. Should fix #3973.

git-svn-id: svn://localhost/ardour2/branches/3.0@9399 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-04-21 13:59:32 +00:00
parent 884de065bd
commit 80476ce3f3

View File

@ -124,7 +124,7 @@ MidiPlaylist::read (MidiRingBuffer<framepos_t>& dst, framepos_t start, framecnt_
*/
framepos_t resolve_at = (*i)->last_frame();
if (resolve_at >= end) {
if (resolve_at < start || resolve_at >= end) {
resolve_at = start;
}