comparison 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
comparison
equal deleted inserted replaced
349:f39d33b0b265 383:94fc0591ea43
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 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
74 QString getTypeName() const { return tr("Dense Time-Value"); } 83 QString getTypeName() const { return tr("Dense Time-Value"); }
75 }; 84 };
76 85
77 #endif 86 #endif