Mercurial > hg > svcore
diff data/model/DenseTimeValueModel.h @ 384:6f6ab834449d spectrogram-cache-rejig
* Merge from trunk
author | Chris Cannam |
---|---|
date | Wed, 27 Feb 2008 11:59:42 +0000 |
parents | 5877d68815c7 |
children |
line wrap: on
line diff
--- a/data/model/DenseTimeValueModel.h Thu Nov 15 14:03:56 2007 +0000 +++ b/data/model/DenseTimeValueModel.h Wed Feb 27 11:59:42 2008 +0000 @@ -70,6 +70,17 @@ */ 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"); } }; #endif