Mercurial > hg > svcore
diff data/model/FFTModel.h @ 1725:78fe29adfd16
Re-implement extendEndFrame behaviour, used by Tony application
author | Chris Cannam |
---|---|
date | Wed, 19 Jun 2019 13:32:52 +0100 |
parents | 0d89abd631ac |
children | b92bdcd4954b |
line wrap: on
line diff
--- a/data/model/FFTModel.h Mon Jun 17 11:02:03 2019 +0100 +++ b/data/model/FFTModel.h Wed Jun 19 13:32:52 2019 +0100 @@ -65,7 +65,7 @@ float getValueAt(int x, int y) const override { return getMagnitudeAt(x, y); } bool isOK() const override { return m_model && m_model->isOK(); } sv_frame_t getStartFrame() const override { return 0; } - sv_frame_t getEndFrame() const override { + sv_frame_t getTrueEndFrame() const override { return sv_frame_t(getWidth()) * getResolution() + getResolution(); } sv_samplerate_t getSampleRate() const override {