diff data/model/Model.h @ 1659:8bf3a52a1604 single-point

Work on start/end frame stuff to match API description
author Chris Cannam
date Thu, 21 Mar 2019 11:35:30 +0000
parents b2f32c554199
children f9b6e99e0520
line wrap: on
line diff
--- a/data/model/Model.h	Wed Mar 20 16:22:13 2019 +0000
+++ b/data/model/Model.h	Thu Mar 21 11:35:30 2019 +0000
@@ -56,11 +56,12 @@
 
     /**
      * Return the audio frame at the end of the model, i.e. the final
-     * frame contained within the model plus 1 (or plus the model's
-     * "resolution" granularity, if more than 1). The end frame minus
-     * the start frame should yield the total duration in frames
-     * spanned by the model. This is consistent with the definition of
-     * the end frame of a Selection object.
+     * frame contained within the model plus 1 (rounded up to the
+     * model's "resolution" granularity, if more than 1). The end
+     * frame minus the start frame should yield the total duration in
+     * frames (as a multiple of the resolution) spanned by the
+     * model. This is broadly consistent with the definition of the
+     * end frame of a Selection object.
      */
     virtual sv_frame_t getEndFrame() const = 0;