summaryrefslogtreecommitdiff
path: root/libs/ardour/midi_ring_buffer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/midi_ring_buffer.cc')
-rw-r--r--libs/ardour/midi_ring_buffer.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/libs/ardour/midi_ring_buffer.cc b/libs/ardour/midi_ring_buffer.cc
index c2e040d947..7e88f5ff45 100644
--- a/libs/ardour/midi_ring_buffer.cc
+++ b/libs/ardour/midi_ring_buffer.cc
@@ -165,6 +165,18 @@ MidiRingBuffer<T>::skip_to(framepos_t start)
++count;
+ /* TODO investigate and think:
+ *
+ * Does it makes sense to keep track of notes
+ * that are skipped (because they're either too late
+ * (underrun) or never used (read-ahead, loop) ?
+ *
+ * skip_to() is called on the rinbuffer between
+ * disk and process. it seems wrong to track them
+ * (a potential synth never sees skipped notes, either)
+ * but there may be more to this.
+ */
+
if (ev_size >= 8) {
this->increment_read_ptr (ev_size);
} else {