Mercurial > hg > vamp-plugin-sdk
comparison vamp-sdk/hostext/PluginInputDomainAdapter.cpp @ 65:a712ed15d158
* Remove some (but not all) debug output
author | cannam |
---|---|
date | Fri, 01 Jun 2007 15:11:37 +0000 |
parents | 9d3272c7db60 |
children | 47d6e670a810 |
comparison
equal
deleted
inserted
replaced
64:9d3272c7db60 | 65:a712ed15d158 |
---|---|
217 // | 217 // |
218 // We'll go for option 2, adjusting the timestamps. Note in | 218 // We'll go for option 2, adjusting the timestamps. Note in |
219 // particular that this means some results can differ from those | 219 // particular that this means some results can differ from those |
220 // produced by SV. | 220 // produced by SV. |
221 | 221 |
222 std::cerr << "PluginInputDomainAdapter: sampleRate " << m_inputSampleRate << ", blocksize " << m_blockSize << ", adjusting time from " << timestamp; | 222 // std::cerr << "PluginInputDomainAdapter: sampleRate " << m_inputSampleRate << ", blocksize " << m_blockSize << ", adjusting time from " << timestamp; |
223 | 223 |
224 timestamp = timestamp + RealTime::frame2RealTime(m_blockSize/2, | 224 timestamp = timestamp + RealTime::frame2RealTime(m_blockSize/2, |
225 m_inputSampleRate); | 225 m_inputSampleRate); |
226 | 226 |
227 std::cerr << " to " << timestamp << std::endl; | 227 // std::cerr << " to " << timestamp << std::endl; |
228 | 228 |
229 for (size_t c = 0; c < m_channels; ++c) { | 229 for (size_t c = 0; c < m_channels; ++c) { |
230 | 230 |
231 for (size_t i = 0; i < m_blockSize; ++i) { | 231 for (size_t i = 0; i < m_blockSize; ++i) { |
232 // Hanning window | 232 // Hanning window |