diff data/model/NoteModel.h @ 1656:e4084bc60fe8 single-point

Test & fixes for getEventsStartingAt
author Chris Cannam
date Wed, 20 Mar 2019 14:58:56 +0000
parents 0cfb882155a6
children 31b46a5647db
line wrap: on
line diff
--- a/data/model/NoteModel.h	Wed Mar 20 11:14:36 2019 +0000
+++ b/data/model/NoteModel.h	Wed Mar 20 14:58:56 2019 +0000
@@ -161,14 +161,17 @@
     EventVector getEventsSpanning(sv_frame_t f, sv_frame_t duration) const {
         return m_events.getEventsSpanning(f, duration);
     }
+    EventVector getEventsCovering(sv_frame_t f) const {
+        return m_events.getEventsCovering(f);
+    }
     EventVector getEventsWithin(sv_frame_t f, sv_frame_t duration) const {
         return m_events.getEventsWithin(f, duration);
     }
     EventVector getEventsStartingWithin(sv_frame_t f, sv_frame_t duration) const {
         return m_events.getEventsStartingWithin(f, duration);
     }
-    EventVector getEventsCovering(sv_frame_t f) const {
-        return m_events.getEventsCovering(f);
+    EventVector getEventsStartingAt(sv_frame_t f) const {
+        return m_events.getEventsStartingAt(f);
     }
 
     /**