diff data/model/RangeSummarisableTimeValueModel.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 700cd3350391
children 9c7ebf2cd956
line wrap: on
line diff
--- a/data/model/RangeSummarisableTimeValueModel.h	Thu Feb 07 12:36:59 2008 +0000
+++ b/data/model/RangeSummarisableTimeValueModel.h	Thu Feb 07 15:25:05 2008 +0000
@@ -72,6 +72,8 @@
      */
     virtual Range getSummary(size_t channel, size_t start, size_t count) const = 0;
 
+    virtual size_t getSummaryBlockSize(size_t desired) const = 0;
+
     QString getTypeName() const { return tr("Range-Summarisable Time-Value"); }
 };