comparison 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
comparison
equal deleted inserted replaced
1036:682d64f05e72 1069:32ab6c48efaa
31 31
32 virtual bool isOK() const { 32 virtual bool isOK() const {
33 return m_source && m_source->isOK(); 33 return m_source && m_source->isOK();
34 } 34 }
35 35
36 virtual int getSampleRate() const { 36 virtual sv_samplerate_t getSampleRate() const {
37 return m_source->getSampleRate(); 37 return m_source->getSampleRate();
38 } 38 }
39 39
40 virtual int getStartFrame() const { 40 virtual sv_frame_t getStartFrame() const {
41 return m_source->getStartFrame(); 41 return m_source->getStartFrame();
42 } 42 }
43 43
44 virtual int getEndFrame() const { 44 virtual sv_frame_t getEndFrame() const {
45 return m_source->getEndFrame(); 45 return m_source->getEndFrame();
46 } 46 }
47 47
48 virtual Model *clone() const {
49 return new Dense3DModelPeakCache(m_source, m_resolution);
50 }
51
52 virtual int getResolution() const { 48 virtual int getResolution() const {
53 return m_source->getResolution() * m_resolution; 49 return m_source->getResolution() * m_resolution;
54 } 50 }
55 51
56 virtual int getWidth() const { 52 virtual int getWidth() const {