diff data/model/DenseTimeValueModel.h @ 383:94fc0591ea43 1.2-stable

* merge from trunk (1.2 ended up being tracked from trunk, but we may want this branch for fixes later)
author Chris Cannam
date Wed, 27 Feb 2008 10:32:45 +0000
parents 700cd3350391
children 5858cc462d0a
line wrap: on
line diff
--- a/data/model/DenseTimeValueModel.h	Fri Nov 30 17:36:14 2007 +0000
+++ b/data/model/DenseTimeValueModel.h	Wed Feb 27 10:32:45 2008 +0000
@@ -71,6 +71,15 @@
     virtual size_t getData(int channel, size_t start, size_t count,
                            double *buffer) const = 0;
 
+    /**
+     * Get the specified set of samples from given contiguous range
+     * of channels of the model in single-precision floating-point
+     * format.  Return the number of sample frames actually retrieved.
+     */
+    virtual size_t getData(size_t fromchannel, size_t tochannel,
+                           size_t start, size_t count,
+                           float **buffers) const = 0;
+
     QString getTypeName() const { return tr("Dense Time-Value"); }
 };