comparison transform/RealTimeEffectModelTransformer.cpp @ 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 a1cd5abcb38b
children 4d9816ba0ebe
comparison
equal deleted inserted replaced
1085:bf6f64dabe73 1086:9f4505ac9072
202 } 202 }
203 } 203 }
204 } 204 }
205 } else { 205 } else {
206 if (inbufs && inbufs[0]) { 206 if (inbufs && inbufs[0]) {
207 got = input->getData(0, channelCount - 1, 207 got = input->getMultiChannelData(0, channelCount - 1,
208 blockFrame, blockSize, 208 blockFrame, blockSize,
209 inbufs); 209 inbufs);
210 while (got < blockSize) { 210 while (got < blockSize) {
211 for (int ch = 0; ch < channelCount; ++ch) { 211 for (int ch = 0; ch < channelCount; ++ch) {
212 inbufs[ch][got] = 0.0; 212 inbufs[ch][got] = 0.0;
213 } 213 }
214 ++got; 214 ++got;