comparison data/fft/FFTDataServer.h @ 155:ae9be6b6b522

* 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 6ec58bb8f729
children a2a8a2b6653a
comparison
equal deleted inserted replaced
154:6ec58bb8f729 155:ae9be6b6b522
72 float getPhaseAt(size_t x, size_t y); 72 float getPhaseAt(size_t x, size_t y);
73 void getValuesAt(size_t x, size_t y, float &real, float &imaginary); 73 void getValuesAt(size_t x, size_t y, float &real, float &imaginary);
74 bool isColumnReady(size_t x); 74 bool isColumnReady(size_t x);
75 75
76 void suspend(); 76 void suspend();
77 void suspendWrites();
77 void resume(); // also happens automatically if new data needed 78 void resume(); // also happens automatically if new data needed
78 79
79 // Convenience functions: 80 // Convenience functions:
80 81
81 bool isLocalPeak(size_t x, size_t y) { 82 bool isLocalPeak(size_t x, size_t y) {