Fix stuck notes in short MIDI regions.
This commit is contained in:
parent
49047e4dc9
commit
d23eaea2ab
@ -129,10 +129,15 @@ MidiPlaylist::read (Evoral::EventSink<framepos_t>& dst, framepos_t start, framec
|
||||
switch ((*i)->coverage (start, end)) {
|
||||
case Evoral::OverlapStart:
|
||||
case Evoral::OverlapInternal:
|
||||
case Evoral::OverlapExternal:
|
||||
regs.push_back (*i);
|
||||
break;
|
||||
|
||||
case Evoral::OverlapExternal:
|
||||
/* this region is entirely contained in the read range */
|
||||
regs.push_back (*i);
|
||||
ended.push_back (*i);
|
||||
break;
|
||||
|
||||
case Evoral::OverlapEnd:
|
||||
/* this region ends within the read range */
|
||||
regs.push_back (*i);
|
||||
|
Loading…
Reference in New Issue
Block a user