Mercurial > hg > svcore
comparison 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 |
comparison
equal
deleted
inserted
replaced
1658:5b7b01da430a | 1659:8bf3a52a1604 |
---|---|
54 */ | 54 */ |
55 virtual sv_frame_t getStartFrame() const = 0; | 55 virtual sv_frame_t getStartFrame() const = 0; |
56 | 56 |
57 /** | 57 /** |
58 * Return the audio frame at the end of the model, i.e. the final | 58 * Return the audio frame at the end of the model, i.e. the final |
59 * frame contained within the model plus 1 (or plus the model's | 59 * frame contained within the model plus 1 (rounded up to the |
60 * "resolution" granularity, if more than 1). The end frame minus | 60 * model's "resolution" granularity, if more than 1). The end |
61 * the start frame should yield the total duration in frames | 61 * frame minus the start frame should yield the total duration in |
62 * spanned by the model. This is consistent with the definition of | 62 * frames (as a multiple of the resolution) spanned by the |
63 * the end frame of a Selection object. | 63 * model. This is broadly consistent with the definition of the |
64 * end frame of a Selection object. | |
64 */ | 65 */ |
65 virtual sv_frame_t getEndFrame() const = 0; | 66 virtual sv_frame_t getEndFrame() const = 0; |
66 | 67 |
67 /** | 68 /** |
68 * Return the frame rate in frames per second. | 69 * Return the frame rate in frames per second. |