Mercurial > hg > svcore
comparison data/model/WritableWaveFileModel.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 | 3aea4f7617bb |
children | 3dcd83595bc8 |
comparison
equal
deleted
inserted
replaced
1325:3aea4f7617bb | 1326:54af1e21705c |
---|---|
108 virtual sv_frame_t getStartFrame() const { return m_startFrame; } | 108 virtual sv_frame_t getStartFrame() const { return m_startFrame; } |
109 virtual sv_frame_t getEndFrame() const { return m_startFrame + getFrameCount(); } | 109 virtual sv_frame_t getEndFrame() const { return m_startFrame + getFrameCount(); } |
110 | 110 |
111 void setStartFrame(sv_frame_t startFrame); | 111 void setStartFrame(sv_frame_t startFrame); |
112 | 112 |
113 virtual std::vector<float> getData(int channel, sv_frame_t start, sv_frame_t count) const; | 113 virtual floatvec_t getData(int channel, sv_frame_t start, sv_frame_t count) const; |
114 | 114 |
115 virtual std::vector<std::vector<float>> getMultiChannelData(int fromchannel, int tochannel, sv_frame_t start, sv_frame_t count) const; | 115 virtual std::vector<floatvec_t> getMultiChannelData(int fromchannel, int tochannel, sv_frame_t start, sv_frame_t count) const; |
116 | 116 |
117 virtual int getSummaryBlockSize(int desired) const; | 117 virtual int getSummaryBlockSize(int desired) const; |
118 | 118 |
119 virtual void getSummaries(int channel, sv_frame_t start, sv_frame_t count, | 119 virtual void getSummaries(int channel, sv_frame_t start, sv_frame_t count, |
120 RangeBlock &ranges, int &blockSize) const; | 120 RangeBlock &ranges, int &blockSize) const; |