Mercurial > hg > svgui
diff layer/SpectrogramLayer.h @ 88:6b864e6864cb
* Introduce simple non-RT thread base class
* Rename MatrixFileCache to MatrixFile
* some fixes & tidying
author | Chris Cannam |
---|---|
date | Thu, 04 May 2006 16:03:02 +0000 |
parents | 4b98bda7e94d |
children | 7d06e7cf5d5a |
line wrap: on
line diff
--- a/layer/SpectrogramLayer.h Wed May 03 16:48:03 2006 +0000 +++ b/layer/SpectrogramLayer.h Thu May 04 16:03:02 2006 +0000 @@ -19,10 +19,10 @@ #include "base/Layer.h" #include "base/Window.h" #include "base/RealTime.h" +#include "base/NonRTThread.h" #include "model/PowerOfSqrtTwoZoomConstraint.h" #include "model/DenseTimeValueModel.h" -#include <QThread> #include <QMutex> #include <QWaitCondition> @@ -240,7 +240,7 @@ FFTCacheBase *m_writeCache; bool m_cacheInvalid; - class CacheFillThread : public QThread + class CacheFillThread : public NonRTThread { public: CacheFillThread(SpectrogramLayer &layer) :