comparison src/vamp-hostsdk/PluginBufferingAdapter.cpp @ 282:e0b7a35ea18e

* remove some debug
author cannam
date Fri, 20 Mar 2009 15:49:59 +0000
parents 91821a3ab0b6
children f3b1ba71a305
comparison
equal deleted inserted replaced
281:c860f892c3d7 282:e0b7a35ea18e
466 } 466 }
467 std::cerr << "PluginBufferingAdapter::initialise: WARNING: step size " << m_stepSize << " is greater than block size " << m_blockSize << ": cannot handle this in adapter; adjusting block size to " << newBlockSize << std::endl; 467 std::cerr << "PluginBufferingAdapter::initialise: WARNING: step size " << m_stepSize << " is greater than block size " << m_blockSize << ": cannot handle this in adapter; adjusting block size to " << newBlockSize << std::endl;
468 m_blockSize = newBlockSize; 468 m_blockSize = newBlockSize;
469 } 469 }
470 470
471 std::cerr << "PluginBufferingAdapter::initialise: NOTE: stepSize " << m_inputStepSize << " -> " << m_stepSize 471 // std::cerr << "PluginBufferingAdapter::initialise: NOTE: stepSize " << m_inputStepSize << " -> " << m_stepSize
472 << ", blockSize " << m_inputBlockSize << " -> " << m_blockSize << std::endl; 472 // << ", blockSize " << m_inputBlockSize << " -> " << m_blockSize << std::endl;
473 473
474 m_buffers = new float *[m_channels]; 474 m_buffers = new float *[m_channels];
475 475
476 for (size_t i = 0; i < m_channels; ++i) { 476 for (size_t i = 0; i < m_channels; ++i) {
477 m_queue.push_back(new RingBuffer(m_blockSize + m_inputBlockSize)); 477 m_queue.push_back(new RingBuffer(m_blockSize + m_inputBlockSize));