mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-07 14:15:46 +01:00
resolved notes need to use cycle-relative time
This commit is contained in:
parent
cd7fc3711a
commit
d5cfc898e4
1 changed files with 3 additions and 2 deletions
|
|
@ -1126,9 +1126,10 @@ DiskReader::get_midi_playback (MidiBuffer& dst, samplepos_t start_sample, sample
|
|||
|
||||
|
||||
if (cnt) {
|
||||
/* We re going to have to read across the loop end. Resolve any notes the extend across the loop end
|
||||
/* We re going to have to read across the loop end. Resolve any notes the extend across the loop end.
|
||||
* Time is relative to start_sample.
|
||||
*/
|
||||
_tracker.resolve_notes (*target, loc->end() - 1);
|
||||
_tracker.resolve_notes (*target, (loc->end() - 1) - start_sample);
|
||||
}
|
||||
|
||||
} while (cnt);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue