comparison data/model/EditableDenseThreeDimensionalModel.cpp @ 1040:a1cd5abcb38b cxx11

Introduce and use a samplerate type
author Chris Cannam
date Wed, 04 Mar 2015 12:01:04 +0000
parents cc27f35aa75c
children 31f01931b781
comparison
equal deleted inserted replaced
1039:b14064bd1f97 1040:a1cd5abcb38b
27 #include <cmath> 27 #include <cmath>
28 #include <cassert> 28 #include <cassert>
29 29
30 #include "system/System.h" 30 #include "system/System.h"
31 31
32 EditableDenseThreeDimensionalModel::EditableDenseThreeDimensionalModel(int sampleRate, 32 EditableDenseThreeDimensionalModel::EditableDenseThreeDimensionalModel(sv_samplerate_t sampleRate,
33 int resolution, 33 int resolution,
34 int yBinCount, 34 int yBinCount,
35 CompressionType compression, 35 CompressionType compression,
36 bool notifyOnAdd) : 36 bool notifyOnAdd) :
37 m_startFrame(0), 37 m_startFrame(0),
53 EditableDenseThreeDimensionalModel::isOK() const 53 EditableDenseThreeDimensionalModel::isOK() const
54 { 54 {
55 return true; 55 return true;
56 } 56 }
57 57
58 int 58 sv_samplerate_t
59 EditableDenseThreeDimensionalModel::getSampleRate() const 59 EditableDenseThreeDimensionalModel::getSampleRate() const
60 { 60 {
61 return m_sampleRate; 61 return m_sampleRate;
62 } 62 }
63 63