comparison data/model/Dense3DModelPeakCache.h @ 1038:cc27f35aa75c cxx11

Introducing the signed 64-bit frame index type, and fixing build failures from inclusion of -Wconversion with -Werror. Not finished yet.
author Chris Cannam
date Tue, 03 Mar 2015 15:18:24 +0000
parents 59e7fe1b1003
children a1cd5abcb38b
comparison
equal deleted inserted replaced
1037:bf0e5944289b 1038:cc27f35aa75c
35 35
36 virtual int getSampleRate() const { 36 virtual int 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 { 48 virtual Model *clone() const {
49 return new Dense3DModelPeakCache(m_source, m_resolution); 49 return new Dense3DModelPeakCache(m_source, m_resolution);