comparison layer/WaveformLayer.h @ 811:c4ef666721bf

Merge from branch warnfix_no_size_t
author Chris Cannam
date Wed, 18 Jun 2014 13:51:27 +0100
parents 1d526ba11a24
children b66fb15de477
comparison
equal deleted inserted replaced
782:ddae586bc47b 811:c4ef666721bf
206 int dBscale(float sample, int m) const; 206 int dBscale(float sample, int m) const;
207 207
208 const RangeSummarisableTimeValueModel *m_model; // I do not own this 208 const RangeSummarisableTimeValueModel *m_model; // I do not own this
209 209
210 /// Return value is number of channels displayed 210 /// Return value is number of channels displayed
211 size_t getChannelArrangement(size_t &min, size_t &max, 211 int getChannelArrangement(int &min, int &max,
212 bool &merging, bool &mixing) const; 212 bool &merging, bool &mixing) const;
213 213
214 int getYForValue(const View *v, float value, size_t channel) const; 214 int getYForValue(const View *v, float value, int channel) const;
215 215
216 float getValueForY(const View *v, int y, size_t &channel) const; 216 float getValueForY(const View *v, int y, int &channel) const;
217 217
218 bool getSourceFramesForX(View *v, int x, size_t modelZoomLevel, 218 bool getSourceFramesForX(View *v, int x, int modelZoomLevel,
219 size_t &f0, size_t &f1) const; 219 int &f0, int &f1) const;
220 220
221 float getNormalizeGain(View *v, int channel) const; 221 float getNormalizeGain(View *v, int channel) const;
222 222
223 virtual void flagBaseColourChanged() { m_cacheValid = false; } 223 virtual void flagBaseColourChanged() { m_cacheValid = false; }
224 224