diff data/model/ReadOnlyWaveFileModel.h @ 1725:78fe29adfd16

Re-implement extendEndFrame behaviour, used by Tony application
author Chris Cannam
date Wed, 19 Jun 2019 13:32:52 +0100
parents 82d03c9661f9
children 14747f24ad04
line wrap: on
line diff
--- a/data/model/ReadOnlyWaveFileModel.h	Mon Jun 17 11:02:03 2019 +0100
+++ b/data/model/ReadOnlyWaveFileModel.h	Wed Jun 19 13:32:52 2019 +0100
@@ -77,7 +77,7 @@
     float getValueMaximum() const override { return  1.0f; }
 
     sv_frame_t getStartFrame() const override { return m_startFrame; }
-    sv_frame_t getEndFrame() const override { return m_startFrame + getFrameCount(); }
+    sv_frame_t getTrueEndFrame() const override { return m_startFrame + getFrameCount(); }
 
     void setStartFrame(sv_frame_t startFrame) override { m_startFrame = startFrame; }