comparison data/fft/FFTDataServer.cpp @ 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 2f2d282d45d0
comparison
equal deleted inserted replaced
194:10e897e6dcba 195:c92a605f6b59
710 for (size_t i = 0; i < pfx; ++i) { 710 for (size_t i = 0; i < pfx; ++i) {
711 m_fftInput[off + i] = 0.0; 711 m_fftInput[off + i] = 0.0;
712 } 712 }
713 } 713 }
714 714
715 #ifdef DEBUG_FFT_SERVER_FILL
715 std::cerr << "FFTDataServer::fillColumn: requesting frames " 716 std::cerr << "FFTDataServer::fillColumn: requesting frames "
716 << startFrame + pfx << " -> " << endFrame << " ( = " 717 << startFrame + pfx << " -> " << endFrame << " ( = "
717 << endFrame - (startFrame + pfx) << ") at index " 718 << endFrame - (startFrame + pfx) << ") at index "
718 << off + pfx << " in buffer of size " << m_fftSize 719 << off + pfx << " in buffer of size " << m_fftSize
719 << " with window size " << m_windowSize 720 << " with window size " << m_windowSize
720 << " from channel " << m_channel << std::endl; 721 << " from channel " << m_channel << std::endl;
722 #endif
721 723
722 size_t got = m_model->getValues(m_channel, startFrame + pfx, 724 size_t got = m_model->getValues(m_channel, startFrame + pfx,
723 endFrame, m_fftInput + off + pfx); 725 endFrame, m_fftInput + off + pfx);
724 726
725 while (got + pfx < m_windowSize) { 727 while (got + pfx < m_windowSize) {