diff layer/WaveformLayer.h @ 365:26ce2fb7bcbf

* Ensure waveforms are strictly correct even when using a non-power-of-two non-power-of-sqrt-two block size with cacheing off and painting only small areas at a time
author Chris Cannam
date Thu, 07 Feb 2008 15:25:05 +0000
parents 2f83b6e3b8ca
children 5b72899d692b
line wrap: on
line diff
--- a/layer/WaveformLayer.h	Thu Feb 07 12:36:18 2008 +0000
+++ b/layer/WaveformLayer.h	Thu Feb 07 15:25:05 2008 +0000
@@ -202,6 +202,11 @@
 
     float getValueForY(const View *v, int y, size_t &channel) const;
 
+    bool getSourceFramesForX(View *v, int x, size_t modelZoomLevel,
+                             size_t &f0, size_t &f1) const;
+
+    float getNormalizeGain(View *v, int channel) const;
+
     virtual void flagBaseColourChanged() { m_cacheValid = false; }
 
     float        m_gain;