Mercurial > hg > svcore
changeset 195:c92a605f6b59
* Wire up the Panner widget in the pane, and do some tidying in Pane
author | Chris Cannam |
---|---|
date | Thu, 19 Oct 2006 13:05:39 +0000 |
parents | 10e897e6dcba |
children | 28c38d1e5141 |
files | data/fft/FFTDataServer.cpp data/model/WaveFileModel.cpp |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/data/fft/FFTDataServer.cpp Thu Oct 19 09:56:53 2006 +0000 +++ b/data/fft/FFTDataServer.cpp Thu Oct 19 13:05:39 2006 +0000 @@ -712,12 +712,14 @@ } } +#ifdef DEBUG_FFT_SERVER_FILL std::cerr << "FFTDataServer::fillColumn: requesting frames " << startFrame + pfx << " -> " << endFrame << " ( = " << endFrame - (startFrame + pfx) << ") at index " << off + pfx << " in buffer of size " << m_fftSize << " with window size " << m_windowSize << " from channel " << m_channel << std::endl; +#endif size_t got = m_model->getValues(m_channel, startFrame + pfx, endFrame, m_fftInput + off + pfx);
--- a/data/model/WaveFileModel.cpp Thu Oct 19 09:56:53 2006 +0000 +++ b/data/model/WaveFileModel.cpp Thu Oct 19 13:05:39 2006 +0000 @@ -130,8 +130,8 @@ if (!m_reader || !m_reader->isOK()) return 0; - std::cerr << "WaveFileModel::getValues(" << channel << ", " - << start << ", " << end << "): calling reader" << std::endl; +// std::cerr << "WaveFileModel::getValues(" << channel << ", " +// << start << ", " << end << "): calling reader" << std::endl; SampleBlock frames; m_reader->getInterleavedFrames(start, end - start, frames);