comparison data/model/WritableWaveFileModel.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
comparison
equal deleted inserted replaced
376:ab24af1271e9 377:166c22eff678
70 70
71 virtual size_t getData(size_t fromchannel, size_t tochannel, 71 virtual size_t getData(size_t fromchannel, size_t tochannel,
72 size_t start, size_t count, 72 size_t start, size_t count,
73 float **buffer) const; 73 float **buffer) const;
74 74
75 virtual size_t getSummaryBlockSize(size_t desired) const;
76
75 virtual void getSummaries(size_t channel, size_t start, size_t count, 77 virtual void getSummaries(size_t channel, size_t start, size_t count,
76 RangeBlock &ranges, size_t &blockSize) const; 78 RangeBlock &ranges, size_t &blockSize) const;
77 79
78 virtual Range getSummary(size_t channel, size_t start, size_t count) const; 80 virtual Range getSummary(size_t channel, size_t start, size_t count) const;
79 81