comparison 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
comparison
equal deleted inserted replaced
376:ab24af1271e9 377:166c22eff678
70 * the given number of underlying sample frames, summarised at a 70 * the given number of underlying sample frames, summarised at a
71 * block size equal to the distance between start and end frames. 71 * block size equal to the distance between start and end frames.
72 */ 72 */
73 virtual Range getSummary(size_t channel, size_t start, size_t count) const = 0; 73 virtual Range getSummary(size_t channel, size_t start, size_t count) const = 0;
74 74
75 virtual size_t getSummaryBlockSize(size_t desired) const = 0;
76
75 QString getTypeName() const { return tr("Range-Summarisable Time-Value"); } 77 QString getTypeName() const { return tr("Range-Summarisable Time-Value"); }
76 }; 78 };
77 79
78 #endif 80 #endif
79 81