summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2020-05-03 17:24:37 -0600
committerPaul Davis <paul@linuxaudiosystems.com>2020-05-04 18:48:17 -0600
commit3ac96d3b24795244f9c888c26262fb24b41ce35e (patch)
tree9b8a545016b294aab08ccc226a3484d41a64dd60 /libs
parent447b473a1d94fdf4f091b6280e5e44f7b1c66e23 (diff)
add explanatory comment
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/midi_track.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/midi_track.cc b/libs/ardour/midi_track.cc
index fba14022f5..c793241239 100644
--- a/libs/ardour/midi_track.cc
+++ b/libs/ardour/midi_track.cc
@@ -497,6 +497,12 @@ MidiTrack::export_stuff (BufferSet& buffers,
mpl->reset_note_trackers (); // TODO once at start and end ?
buffers.get_midi(0).clear();
+
+
+ /* Can't use a note tracker here, because the note off's might be in a
+ * subsequent call
+ */
+
MidiStateTracker ignored;
/* XXX thsi doesn't fail, other than if the lock cannot be obtained */