comparison 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
comparison
equal deleted inserted replaced
1724:157c62ff0056 1725:78fe29adfd16
173 173
174 float getValueMinimum() const override { return -1.0f; } 174 float getValueMinimum() const override { return -1.0f; }
175 float getValueMaximum() const override { return 1.0f; } 175 float getValueMaximum() const override { return 1.0f; }
176 176
177 sv_frame_t getStartFrame() const override { return m_startFrame; } 177 sv_frame_t getStartFrame() const override { return m_startFrame; }
178 sv_frame_t getEndFrame() const override { return m_startFrame + getFrameCount(); } 178 sv_frame_t getTrueEndFrame() const override { return m_startFrame + getFrameCount(); }
179 179
180 void setStartFrame(sv_frame_t startFrame) override; 180 void setStartFrame(sv_frame_t startFrame) override;
181 181
182 floatvec_t getData(int channel, sv_frame_t start, sv_frame_t count) const override; 182 floatvec_t getData(int channel, sv_frame_t start, sv_frame_t count) const override;
183 183