comparison data/fft/FFTDataServer.cpp @ 153:8d92611901d3

...
author Chris Cannam
date Wed, 02 Aug 2006 16:42:17 +0000
parents 21792a550ec9
children 6ec58bb8f729
comparison
equal deleted inserted replaced
152:21792a550ec9 153:8d92611901d3
19 19
20 #include "model/DenseTimeValueModel.h" 20 #include "model/DenseTimeValueModel.h"
21 21
22 #include "system/System.h" 22 #include "system/System.h"
23 23
24 //#define DEBUG_FFT_SERVER 1 24 #define DEBUG_FFT_SERVER 1
25 //#define DEBUG_FFT_SERVER_FILL 1 25 #define DEBUG_FFT_SERVER_FILL 1
26 26
27 #ifdef DEBUG_FFT_SERVER_FILL 27 #ifdef DEBUG_FFT_SERVER_FILL
28 #define DEBUG_FFT_SERVER 28 #ifndef DEBUG_FFT_SERVER
29 #define DEBUG_FFT_SERVER 1
30 #endif
29 #endif 31 #endif
30 32
31 FFTDataServer::ServerMap FFTDataServer::m_servers; 33 FFTDataServer::ServerMap FFTDataServer::m_servers;
32 QMutex FFTDataServer::m_serverMapMutex; 34 QMutex FFTDataServer::m_serverMapMutex;
33 35
308 m_fftSize(fftSize), 310 m_fftSize(fftSize),
309 m_polar(polar), 311 m_polar(polar),
310 m_lastUsedCache(-1), 312 m_lastUsedCache(-1),
311 m_fftInput(0), 313 m_fftInput(0),
312 m_exiting(false), 314 m_exiting(false),
315 m_suspended(true), //!!! or false?
313 m_fillThread(0) 316 m_fillThread(0)
314 { 317 {
315 size_t start = m_model->getStartFrame(); 318 size_t start = m_model->getStartFrame();
316 size_t end = m_model->getEndFrame(); 319 size_t end = m_model->getEndFrame();
317 320