5 #include <QWaitCondition>
20 QVector<double> array;
21 QVector<double> window;
22 QVector<double> spectrum;
23 QVector<double> logscale;
25 bool compressed, running, iscalc;
26 int chunks, interval, pass;
29 void processBuffer(QVector<double> _array,
int duration);
31 void calculatedSpectrum(QVector<double> spectrum);
38 void calc(QVector<double> &_array,
int duration);
47 QThread processorThread;
50 explicit FFTCalc(QObject *parent = 0);
52 void calc(QVector<double> &_array,
int duration);
54 void setSpectrum(QVector<double> spectrum);
57 void calculatedSpectrum(QVector<double> spectrum);