comparison 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
comparison
equal deleted inserted replaced
337:a6fab10ff9e6 384:6f6ab834449d
68 * If the channel is given as -1, mix all available channels and 68 * If the channel is given as -1, mix all available channels and
69 * return the result. 69 * return the result.
70 */ 70 */
71 virtual size_t getData(int channel, size_t start, size_t count, 71 virtual size_t getData(int channel, size_t start, size_t count,
72 double *buffer) const = 0; 72 double *buffer) const = 0;
73
74 /**
75 * Get the specified set of samples from given contiguous range
76 * of channels of the model in single-precision floating-point
77 * format. Return the number of sample frames actually retrieved.
78 */
79 virtual size_t getData(size_t fromchannel, size_t tochannel,
80 size_t start, size_t count,
81 float **buffers) const = 0;
82
83 QString getTypeName() const { return tr("Dense Time-Value"); }
73 }; 84 };
74 85
75 #endif 86 #endif