Mercurial > hg > svcore
diff data/model/test/MockWaveModel.cpp @ 1091:bdebff3265ae simple-fft-model
Simplest naive FFTModel implementation (+ fill in tests)
author | Chris Cannam |
---|---|
date | Fri, 12 Jun 2015 18:08:57 +0100 |
parents | 5fab8e4f5f19 |
children | 4d9816ba0ebe |
line wrap: on
line diff
--- a/data/model/test/MockWaveModel.cpp Fri Jun 12 14:51:46 2015 +0100 +++ b/data/model/test/MockWaveModel.cpp Fri Jun 12 18:08:57 2015 +0100 @@ -30,17 +30,17 @@ { sv_frame_t i = 0; - cerr << "MockWaveModel::getData(" << channel << "," << start << "," << count << "): "; +// cerr << "MockWaveModel::getData(" << channel << "," << start << "," << count << "): "; while (i < count) { sv_frame_t idx = start + i; if (!in_range_for(m_data[channel], idx)) break; buffer[i] = m_data[channel][idx]; - cerr << buffer[i] << " "; +// cerr << buffer[i] << " "; ++i; } - cerr << endl; +// cerr << endl; return i; }