Mercurial > hg > svgui
diff layer/SpectrogramLayer.cpp @ 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 | 803830f186ef |
line wrap: on
line diff
--- a/layer/SpectrogramLayer.cpp Wed May 03 16:48:03 2006 +0000 +++ b/layer/SpectrogramLayer.cpp Thu May 04 16:03:02 2006 +0000 @@ -1304,13 +1304,13 @@ if (!m_layer.m_writeCache) { m_layer.m_writeCache = new FFTFileCache (QString("%1").arg(getObjectExportId(&m_layer)), - MatrixFileCache::ReadWrite); + MatrixFile::ReadWrite); } m_layer.m_writeCache->resize(width, height); if (m_layer.m_cache) delete m_layer.m_cache; m_layer.m_cache = new FFTFileCache (QString("%1").arg(getObjectExportId(&m_layer)), - MatrixFileCache::ReadOnly); + MatrixFile::ReadOnly); m_layer.setCacheColourmap(); //!!! m_layer.m_writeCache->reset();