Mercurial > hg > svcore
comparison data/model/AggregateWaveModel.h @ 1086:9f4505ac9072
Tidy dense time-value model API a bit; add first simple unit test for FFT model
author | Chris Cannam |
---|---|
date | Wed, 10 Jun 2015 17:06:02 +0100 |
parents | 0fd3661bcfff |
children | 4d9816ba0ebe |
comparison
equal
deleted
inserted
replaced
1085:bf6f64dabe73 | 1086:9f4505ac9072 |
---|---|
58 | 58 |
59 virtual sv_frame_t getStartFrame() const { return 0; } | 59 virtual sv_frame_t getStartFrame() const { return 0; } |
60 virtual sv_frame_t getEndFrame() const { return getFrameCount(); } | 60 virtual sv_frame_t getEndFrame() const { return getFrameCount(); } |
61 | 61 |
62 virtual sv_frame_t getData(int channel, sv_frame_t start, sv_frame_t count, | 62 virtual sv_frame_t getData(int channel, sv_frame_t start, sv_frame_t count, |
63 float *buffer) const; | 63 float *buffer) const; |
64 | 64 |
65 virtual sv_frame_t getData(int channel, sv_frame_t start, sv_frame_t count, | 65 virtual sv_frame_t getMultiChannelData(int fromchannel, int tochannel, |
66 double *buffer) const; | 66 sv_frame_t start, sv_frame_t count, |
67 | 67 float **buffer) const; |
68 virtual sv_frame_t getData(int fromchannel, int tochannel, | |
69 sv_frame_t start, sv_frame_t count, | |
70 float **buffer) const; | |
71 | 68 |
72 virtual int getSummaryBlockSize(int desired) const; | 69 virtual int getSummaryBlockSize(int desired) const; |
73 | 70 |
74 virtual void getSummaries(int channel, sv_frame_t start, sv_frame_t count, | 71 virtual void getSummaries(int channel, sv_frame_t start, sv_frame_t count, |
75 RangeBlock &ranges, | 72 RangeBlock &ranges, |