comparison data/model/FFTModel.cpp @ 1773:fadd9f8aaa27

This output is too annoying, in the perfectly innocuous case of reading from an aggregate model whose components are different lengths
author Chris Cannam
date Wed, 14 Aug 2019 13:54:23 +0100
parents 6d09d68165a4
children 6d6740b075c3
comparison
equal deleted inserted replaced
1772:57833933cc75 1773:fadd9f8aaa27
306 } 306 }
307 307
308 auto data = model->getData(m_channel, 308 auto data = model->getData(m_channel,
309 range.first, 309 range.first,
310 range.second - range.first); 310 range.second - range.first);
311 311 /*
312 if (data.empty()) { 312 if (data.empty()) {
313 SVDEBUG << "NOTE: empty source data for range (" << range.first << "," 313 SVDEBUG << "NOTE: empty source data for range (" << range.first << ","
314 << range.second << ") (model end frame " 314 << range.second << ") (model end frame "
315 << model->getEndFrame() << ")" << endl; 315 << model->getEndFrame() << ")" << endl;
316 } 316 }
317 */
317 318
318 // don't return a partial frame 319 // don't return a partial frame
319 data.resize(range.second - range.first, 0.f); 320 data.resize(range.second - range.first, 0.f);
320 321
321 if (pfx > 0) { 322 if (pfx > 0) {