comparison data/fileio/MatrixFile.cpp @ 154:6ec58bb8f729

* Suspend/resume fft data server write activity while reading from a server to repaint the spectrogram display. Makes a significant improvement to the otherwise dreadful responsiveness of spectrogram display.
author Chris Cannam
date Thu, 03 Aug 2006 12:42:15 +0000
parents 8d92611901d3
children 0d943a3fcc77
comparison
equal deleted inserted replaced
153:8d92611901d3 154:6ec58bb8f729
30 #include <cassert> 30 #include <cassert>
31 31
32 #include <QFileInfo> 32 #include <QFileInfo>
33 #include <QDir> 33 #include <QDir>
34 34
35 #define DEBUG_MATRIX_FILE 1 35 //#define DEBUG_MATRIX_FILE 1
36 #define DEBUG_MATRIX_FILE_READ_SET 1 36 //#define DEBUG_MATRIX_FILE_READ_SET 1
37 37
38 #ifdef DEBUG_MATRIX_FILE_READ_SET 38 #ifdef DEBUG_MATRIX_FILE_READ_SET
39 #ifndef DEBUG_MATRIX_FILE 39 #ifndef DEBUG_MATRIX_FILE
40 #define DEBUG_MATRIX_FILE 1 40 #define DEBUG_MATRIX_FILE 1
41 #endif 41 #endif