diff data/data.pro @ 537:3cc4b7cd2aa5

* Merge from one-fftdataserver-per-fftmodel branch. This bit of reworking (which is not described very accurately by the title of the branch) turns the MatrixFile object into something that either reads or writes, but not both, and separates the FFT file cache reader and writer implementations separately. This allows the FFT data server to have a single thread owning writers and one reader per "customer" thread, and for all locking to be vastly simplified and concentrated in the data server alone (because none of the classes it makes use of is used in more than one thread at a time). The result is faster and more trustworthy code.
author Chris Cannam
date Tue, 27 Jan 2009 13:25:10 +0000
parents 63b8ba45d953
children c603d9439b37
line wrap: on
line diff
--- a/data/data.pro	Mon Jan 26 15:18:32 2009 +0000
+++ b/data/data.pro	Tue Jan 27 13:25:10 2009 +0000
@@ -16,9 +16,12 @@
 
 # Input
 HEADERS += fft/FFTapi.h \
-           fft/FFTCache.h \
+           fft/FFTCacheReader.h \
+           fft/FFTCacheStorageType.h \
+           fft/FFTCacheWriter.h \
            fft/FFTDataServer.h \
-           fft/FFTFileCache.h \
+           fft/FFTFileCacheReader.h \
+           fft/FFTFileCacheWriter.h \
            fft/FFTMemoryCache.h \
            fileio/AudioFileReader.h \
            fileio/AudioFileReaderFactory.h \
@@ -73,7 +76,8 @@
            osc/OSCQueue.h 
 SOURCES += fft/FFTapi.cpp \
            fft/FFTDataServer.cpp \
-           fft/FFTFileCache.cpp \
+           fft/FFTFileCacheReader.cpp \
+           fft/FFTFileCacheWriter.cpp \
            fft/FFTMemoryCache.cpp \
            fileio/AudioFileReader.cpp \
            fileio/AudioFileReaderFactory.cpp \