comparison layer/SpectrumLayer.h @ 373:0895517bb2d1 1.2-stable

* merge from trunk (1.2 ended up being tracked from trunk, but we may want this branch for fixes later)
author Chris Cannam
date Wed, 27 Feb 2008 10:32:45 +0000
parents 2f83b6e3b8ca
children a13aa5320221 5b72899d692b
comparison
equal deleted inserted replaced
337:813170c57b13 373:0895517bb2d1
22 #include "base/Window.h" 22 #include "base/Window.h"
23 23
24 #include "data/model/DenseTimeValueModel.h" 24 #include "data/model/DenseTimeValueModel.h"
25 25
26 #include <QColor> 26 #include <QColor>
27 #include <QMutex>
27 28
28 class FFTModel; 29 class FFTModel;
29 30
30 class SpectrumLayer : public SliceLayer 31 class SpectrumLayer : public SliceLayer
31 { 32 {
111 WindowType m_windowType; 112 WindowType m_windowType;
112 size_t m_windowHopLevel; 113 size_t m_windowHopLevel;
113 bool m_showPeaks; 114 bool m_showPeaks;
114 mutable bool m_newFFTNeeded; 115 mutable bool m_newFFTNeeded;
115 116
117 mutable QMutex m_fftMutex;
118
116 void setupFFT(); 119 void setupFFT();
117 120
118 virtual void getBiasCurve(BiasCurve &) const; 121 virtual void getBiasCurve(BiasCurve &) const;
119 BiasCurve m_biasCurve; 122 BiasCurve m_biasCurve;
120 123