diff data/model/WaveFileModel.h @ 225:185454896a76

* Return ranges from RangeSummarisableTimeValueModel::getRanges by references instead of by return value. Trying to isolate a Win32 problem.
author Chris Cannam
date Wed, 07 Feb 2007 14:21:14 +0000
parents e2bbb58e6df6
children 71f869dac40b
line wrap: on
line diff
--- a/data/model/WaveFileModel.h	Thu Feb 01 14:31:28 2007 +0000
+++ b/data/model/WaveFileModel.h	Wed Feb 07 14:21:14 2007 +0000
@@ -60,8 +60,9 @@
     virtual size_t getValues(int channel, size_t start, size_t end,
 			     double *buffer) const;
 
-    virtual RangeBlock getRanges(size_t channel, size_t start, size_t end,
-				 size_t &blockSize) const;
+    virtual void getRanges(size_t channel, size_t start, size_t end,
+                           RangeBlock &ranges,
+                           size_t &blockSize) const;
 
     virtual Range getRange(size_t channel, size_t start, size_t end) const;