correct location of resolved note-offs after region is rendered
This commit is contained in:
parent
4148d2cee4
commit
5d99526406
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user