From fd198c373c430b917f0e5e4e3ed6b32fe49b1cc3 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 3 Nov 2019 10:55:47 -0700 Subject: [PATCH] when resolving notes for a locate, use zero as the timestamp, not the current Port::port_offset() All _immediate_events data gets written to the output buffer at the end of the current (split) cycle anyway, so the timestamp is irrelevant (as long as it is zero, and will therefore be read by ::snapshot_out_of_band_data() --- libs/ardour/midi_track.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/midi_track.cc b/libs/ardour/midi_track.cc index 5c58506adc..575ccdc3a5 100644 --- a/libs/ardour/midi_track.cc +++ b/libs/ardour/midi_track.cc @@ -363,7 +363,7 @@ MidiTrack::realtime_locate () (*i)->realtime_locate (); } - _disk_reader->resolve_tracker (_immediate_events, Port::port_offset()); + _disk_reader->resolve_tracker (_immediate_events, 0); } void