diff layer/SpectrogramLayer.cpp @ 132:5d3a483856ff

* Add Thumbwheel widget for all our zooming needs * Use QSettings to save/restore window size and position -- precursor to switching our preferences to QSettings as well -- wish I'd noticed it sooner * Only suspend writes (not reads from the underlying cache objects) from the fft caches when repainting the spectrogram -- performance should now be significantly better
author Chris Cannam
date Thu, 03 Aug 2006 15:40:11 +0000
parents eaae73b6bd28
children 9e6b3e239b9d
line wrap: on
line diff
--- a/layer/SpectrogramLayer.cpp	Thu Aug 03 12:42:15 2006 +0000
+++ b/layer/SpectrogramLayer.cpp	Thu Aug 03 15:40:11 2006 +0000
@@ -1941,7 +1941,7 @@
     MagnitudeRange overallMag = m_viewMags[v];
     bool overallMagChanged = false;
 
-    fft->suspend();
+    fft->suspendWrites();
 
     for (int x = 0; x < w; ++x) {