diff data/model/AggregateWaveModel.h @ 377:166c22eff678

* 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 0e30c8ec15a0
children 59e7fe1b1003
line wrap: on
line diff
--- a/data/model/AggregateWaveModel.h	Thu Feb 07 12:36:59 2008 +0000
+++ b/data/model/AggregateWaveModel.h	Thu Feb 07 15:25:05 2008 +0000
@@ -71,6 +71,8 @@
                            size_t start, size_t count,
                            float **buffer) const;
 
+    virtual size_t getSummaryBlockSize(size_t desired) const;
+
     virtual void getSummaries(size_t channel, size_t start, size_t count,
                               RangeBlock &ranges,
                               size_t &blockSize) const;