13
0

correct location of resolved note-offs after region is rendered

This commit is contained in:
Paul Davis 2020-01-27 22:17:07 -07:00
parent 4148d2cee4
commit 5d99526406

View File

@ -555,7 +555,7 @@ MidiRegion::render (Evoral::EventSink<samplepos_t>& dst,
* Note-Off's get inserted at the end of the region
*/
tracker.resolve_notes (dst, _position - _start + _length);
tracker.resolve_notes (dst, (_position - _start) + (_start + internal_offset + _length));
return 0;
}