Mercurial > hg > svcore
comparison data/model/IntervalModel.h @ 936:0c1d6de8f44b
Merge from branch warnfix_no_size_t
author | Chris Cannam |
---|---|
date | Wed, 18 Jun 2014 13:51:16 +0100 |
parents | 59e7fe1b1003 |
children | bfe724787abf |
comparison
equal
deleted
inserted
replaced
917:49618f39ff09 | 936:0c1d6de8f44b |
---|---|
27 | 27 |
28 template <typename PointType> | 28 template <typename PointType> |
29 class IntervalModel : public SparseValueModel<PointType> | 29 class IntervalModel : public SparseValueModel<PointType> |
30 { | 30 { |
31 public: | 31 public: |
32 IntervalModel(size_t sampleRate, size_t resolution, | 32 IntervalModel(int sampleRate, int resolution, |
33 bool notifyOnAdd = true) : | 33 bool notifyOnAdd = true) : |
34 SparseValueModel<PointType>(sampleRate, resolution, notifyOnAdd) | 34 SparseValueModel<PointType>(sampleRate, resolution, notifyOnAdd) |
35 { } | 35 { } |
36 | 36 |
37 IntervalModel(size_t sampleRate, size_t resolution, | 37 IntervalModel(int sampleRate, int resolution, |
38 float valueMinimum, float valueMaximum, | 38 float valueMinimum, float valueMaximum, |
39 bool notifyOnAdd = true) : | 39 bool notifyOnAdd = true) : |
40 SparseValueModel<PointType>(sampleRate, resolution, | 40 SparseValueModel<PointType>(sampleRate, resolution, |
41 valueMinimum, valueMaximum, | 41 valueMinimum, valueMaximum, |
42 notifyOnAdd) | 42 notifyOnAdd) |