Mercurial > hg > svcore
diff data/model/SparseOneDimensionalModel.h @ 1725:78fe29adfd16
Re-implement extendEndFrame behaviour, used by Tony application
author | Chris Cannam |
---|---|
date | Wed, 19 Jun 2019 13:32:52 +0100 |
parents | 73077ec5aed6 |
children | 9d82b164f264 |
line wrap: on
line diff
--- a/data/model/SparseOneDimensionalModel.h Mon Jun 17 11:02:03 2019 +0100 +++ b/data/model/SparseOneDimensionalModel.h Wed Jun 19 13:32:52 2019 +0100 @@ -67,7 +67,7 @@ sv_frame_t getStartFrame() const override { return m_events.getStartFrame(); } - sv_frame_t getEndFrame() const override { + sv_frame_t getTrueEndFrame() const override { if (m_events.isEmpty()) return 0; sv_frame_t e = m_events.getEndFrame() + 1; if (e % m_resolution == 0) return e;