Mercurial > hg > svgui
diff layer/WaveformLayer.h @ 908:4a578a360011 cxx11
More type fixes
author | Chris Cannam |
---|---|
date | Tue, 10 Mar 2015 13:22:10 +0000 |
parents | b66fb15de477 |
children | 94e4952a6774 e53a87a5efb2 |
line wrap: on
line diff
--- a/layer/WaveformLayer.h Tue Mar 10 10:31:27 2015 +0000 +++ b/layer/WaveformLayer.h Tue Mar 10 13:22:10 2015 +0000 @@ -203,7 +203,7 @@ virtual void setVerticalZoomStep(int); protected: - int dBscale(float sample, int m) const; + int dBscale(double sample, int m) const; const RangeSummarisableTimeValueModel *m_model; // I do not own this @@ -216,7 +216,7 @@ double getValueForY(const View *v, int y, int &channel) const; bool getSourceFramesForX(View *v, int x, int modelZoomLevel, - int &f0, int &f1) const; + sv_frame_t &f0, sv_frame_t &f1) const; float getNormalizeGain(View *v, int channel) const;