Mercurial > hg > svcore
comparison data/model/AggregateWaveModel.h @ 363:0e30c8ec15a0
* Add wave file model method for reading more than one channel at once,
avoiding ludicrously expensive backward seeks and double-reads when
playing multi-channel files or using them as inputs to feature extraction
plugins
author | Chris Cannam |
---|---|
date | Thu, 24 Jan 2008 14:35:43 +0000 |
parents | 700cd3350391 |
children | 166c22eff678 |
comparison
equal
deleted
inserted
replaced
362:cc4eb32efc6c | 363:0e30c8ec15a0 |
---|---|
65 float *buffer) const; | 65 float *buffer) const; |
66 | 66 |
67 virtual size_t getData(int channel, size_t start, size_t count, | 67 virtual size_t getData(int channel, size_t start, size_t count, |
68 double *buffer) const; | 68 double *buffer) const; |
69 | 69 |
70 virtual size_t getData(size_t fromchannel, size_t tochannel, | |
71 size_t start, size_t count, | |
72 float **buffer) const; | |
73 | |
70 virtual void getSummaries(size_t channel, size_t start, size_t count, | 74 virtual void getSummaries(size_t channel, size_t start, size_t count, |
71 RangeBlock &ranges, | 75 RangeBlock &ranges, |
72 size_t &blockSize) const; | 76 size_t &blockSize) const; |
73 | 77 |
74 virtual Range getSummary(size_t channel, size_t start, size_t count) const; | 78 virtual Range getSummary(size_t channel, size_t start, size_t count) const; |