Mercurial > hg > svcore
diff data/model/Dense3DModelPeakCache.h @ 1069:32ab6c48efaa
Merge from branch tonioni
author | Chris Cannam |
---|---|
date | Mon, 20 Apr 2015 09:11:34 +0100 |
parents | 0fd3661bcfff |
children | ece369c5bb68 |
line wrap: on
line diff
--- a/data/model/Dense3DModelPeakCache.h Mon Mar 02 17:21:34 2015 +0000 +++ b/data/model/Dense3DModelPeakCache.h Mon Apr 20 09:11:34 2015 +0100 @@ -33,22 +33,18 @@ return m_source && m_source->isOK(); } - virtual int getSampleRate() const { + virtual sv_samplerate_t getSampleRate() const { return m_source->getSampleRate(); } - virtual int getStartFrame() const { + virtual sv_frame_t getStartFrame() const { return m_source->getStartFrame(); } - virtual int getEndFrame() const { + virtual sv_frame_t getEndFrame() const { return m_source->getEndFrame(); } - virtual Model *clone() const { - return new Dense3DModelPeakCache(m_source, m_resolution); - } - virtual int getResolution() const { return m_source->getResolution() * m_resolution; }