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

Re-implement extendEndFrame behaviour, used by Tony application
author Chris Cannam
date Wed, 19 Jun 2019 13:32:52 +0100
parents 26da177d7266
children 6d09d68165a4
line wrap: on
line diff
--- a/data/model/WritableWaveFileModel.h	Mon Jun 17 11:02:03 2019 +0100
+++ b/data/model/WritableWaveFileModel.h	Wed Jun 19 13:32:52 2019 +0100
@@ -175,7 +175,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;