summaryrefslogtreecommitdiff
path: root/libs/ardour/midi_track.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2019-11-03 10:55:47 -0700
committerPaul Davis <paul@linuxaudiosystems.com>2019-11-03 11:02:10 -0700
commitfd198c373c430b917f0e5e4e3ed6b32fe49b1cc3 (patch)
tree9c0c1f3826cc199ad6f0b56c15d4b042e376b42b /libs/ardour/midi_track.cc
parent5ec9e0fa5e4f91b545994ff80fa50c15a11a2491 (diff)
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()
Diffstat (limited to 'libs/ardour/midi_track.cc')
-rw-r--r--libs/ardour/midi_track.cc2
1 files changed, 1 insertions, 1 deletions
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