Mercurial > hg > svcore
diff data/model/test/MockWaveModel.h @ 1326:54af1e21705c 3.0-integration
Update to use bqvec allocator for float vectors
author | Chris Cannam |
---|---|
date | Tue, 13 Dec 2016 15:23:21 +0000 |
parents | 4d9816ba0ebe |
children | c01cbe41aeb5 |
line wrap: on
line diff
--- a/data/model/test/MockWaveModel.h Tue Dec 13 12:03:48 2016 +0000 +++ b/data/model/test/MockWaveModel.h Tue Dec 13 15:23:21 2016 +0000 @@ -41,8 +41,8 @@ virtual float getValueMaximum() const { return 1.f; } virtual int getChannelCount() const { return int(m_data.size()); } - virtual std::vector<float> getData(int channel, sv_frame_t start, sv_frame_t count) const; - virtual std::vector<std::vector<float>> getMultiChannelData(int fromchannel, int tochannel, sv_frame_t start, sv_frame_t count) const; + virtual floatvec_t getData(int channel, sv_frame_t start, sv_frame_t count) const; + virtual std::vector<floatvec_t> getMultiChannelData(int fromchannel, int tochannel, sv_frame_t start, sv_frame_t count) const; virtual bool canPlay() const { return true; } virtual QString getDefaultPlayClipId() const { return ""; }