mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 11:46:25 +01:00
Fix stuck notes in short MIDI regions.
This commit is contained in:
parent
49047e4dc9
commit
d23eaea2ab
1 changed files with 6 additions and 1 deletions
|
|
@ -129,10 +129,15 @@ MidiPlaylist::read (Evoral::EventSink<framepos_t>& dst, framepos_t start, framec
|
||||||
switch ((*i)->coverage (start, end)) {
|
switch ((*i)->coverage (start, end)) {
|
||||||
case Evoral::OverlapStart:
|
case Evoral::OverlapStart:
|
||||||
case Evoral::OverlapInternal:
|
case Evoral::OverlapInternal:
|
||||||
case Evoral::OverlapExternal:
|
|
||||||
regs.push_back (*i);
|
regs.push_back (*i);
|
||||||
break;
|
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:
|
case Evoral::OverlapEnd:
|
||||||
/* this region ends within the read range */
|
/* this region ends within the read range */
|
||||||
regs.push_back (*i);
|
regs.push_back (*i);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue