comparison data/model/test/MockWaveModel.cpp @ 1453:4b496a258782

Merge from branch streaming-csv-writer
author Chris Cannam
date Tue, 17 Apr 2018 10:52:06 +0100
parents a12fd0456f0c
children
comparison
equal deleted inserted replaced
1429:48e9f538e6e9 1453:4b496a258782
53 sv_frame_t start, sv_frame_t count) const 53 sv_frame_t start, sv_frame_t count) const
54 { 54 {
55 vector<floatvec_t> data(tochannel - fromchannel + 1); 55 vector<floatvec_t> data(tochannel - fromchannel + 1);
56 56
57 for (int c = fromchannel; c <= tochannel; ++c) { 57 for (int c = fromchannel; c <= tochannel; ++c) {
58 data.push_back(getData(c, start, count)); 58 data[c] = getData(c, start, count);
59 } 59 }
60 60
61 return data; 61 return data;
62 } 62 }
63 63