view 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 source
TEMPLATE = lib

SV_UNIT_PACKAGES = fftw3f sndfile mad quicktime id3tag oggz fishsound liblo
load(../sv.prf)

CONFIG += sv staticlib qt thread warn_on stl rtti exceptions
QT += network
QT -= gui

TARGET = svdata

DEPENDPATH += fft fileio model osc ..
INCLUDEPATH += . fft fileio model osc ..
OBJECTS_DIR = tmp_obj
MOC_DIR = tmp_moc

# Input
HEADERS += fft/FFTapi.h \
           fft/FFTCacheReader.h \
           fft/FFTCacheStorageType.h \
           fft/FFTCacheWriter.h \
           fft/FFTDataServer.h \
           fft/FFTFileCacheReader.h \
           fft/FFTFileCacheWriter.h \
           fft/FFTMemoryCache.h \
           fileio/AudioFileReader.h \
           fileio/AudioFileReaderFactory.h \
           fileio/BZipFileDevice.h \
           fileio/CachedFile.h \
           fileio/CodedAudioFileReader.h \
           fileio/CSVFileReader.h \
           fileio/CSVFileWriter.h \
           fileio/CSVFormat.h \
           fileio/DataFileReader.h \
           fileio/DataFileReaderFactory.h \
           fileio/FileReadThread.h \
           fileio/FileSource.h \
           fileio/MatchFileReader.h \
           fileio/MatrixFile.h \
           fileio/MIDIEvent.h \
           fileio/MIDIFileReader.h \
           fileio/MIDIFileWriter.h \
           fileio/MP3FileReader.h \
           fileio/OggVorbisFileReader.h \
           fileio/PlaylistFileReader.h \
           fileio/QuickTimeFileReader.h \
           fileio/ResamplingWavFileReader.h \
           fileio/WavFileReader.h \
           fileio/WavFileWriter.h \
           model/AggregateWaveModel.h \
           model/AlignmentModel.h \
           model/DenseThreeDimensionalModel.h \
           model/DenseTimeValueModel.h \
           model/EditableDenseThreeDimensionalModel.h \
           model/FFTModel.h \
           model/ImageModel.h \
           model/IntervalModel.h \
           model/Labeller.h \
           model/Model.h \
           model/ModelDataTableModel.h \
           model/NoteModel.h \
           model/PathModel.h \
           model/PowerOfSqrtTwoZoomConstraint.h \
           model/PowerOfTwoZoomConstraint.h \
           model/RangeSummarisableTimeValueModel.h \
           model/RegionModel.h \
           model/SparseModel.h \
           model/SparseOneDimensionalModel.h \
           model/SparseTimeValueModel.h \
           model/SparseValueModel.h \
           model/TabularModel.h \
           model/TextModel.h \
           model/WaveFileModel.h \
           model/WritableWaveFileModel.h \
           osc/OSCMessage.h \
           osc/OSCQueue.h 
SOURCES += fft/FFTapi.cpp \
           fft/FFTDataServer.cpp \
           fft/FFTFileCacheReader.cpp \
           fft/FFTFileCacheWriter.cpp \
           fft/FFTMemoryCache.cpp \
           fileio/AudioFileReader.cpp \
           fileio/AudioFileReaderFactory.cpp \
           fileio/BZipFileDevice.cpp \
           fileio/CachedFile.cpp \
           fileio/CodedAudioFileReader.cpp \
           fileio/CSVFileReader.cpp \
           fileio/CSVFileWriter.cpp \
           fileio/CSVFormat.cpp \
           fileio/DataFileReaderFactory.cpp \
           fileio/FileReadThread.cpp \
           fileio/FileSource.cpp \
           fileio/MatchFileReader.cpp \
           fileio/MatrixFile.cpp \
           fileio/MIDIFileReader.cpp \
           fileio/MIDIFileWriter.cpp \
           fileio/MP3FileReader.cpp \
           fileio/OggVorbisFileReader.cpp \
           fileio/PlaylistFileReader.cpp \
           fileio/QuickTimeFileReader.cpp \
           fileio/ResamplingWavFileReader.cpp \
           fileio/WavFileReader.cpp \
           fileio/WavFileWriter.cpp \
           model/AggregateWaveModel.cpp \
           model/AlignmentModel.cpp \
           model/DenseTimeValueModel.cpp \
           model/EditableDenseThreeDimensionalModel.cpp \
           model/FFTModel.cpp \
           model/Model.cpp \
           model/ModelDataTableModel.cpp \
           model/PowerOfSqrtTwoZoomConstraint.cpp \
           model/PowerOfTwoZoomConstraint.cpp \
           model/RangeSummarisableTimeValueModel.cpp \
           model/WaveFileModel.cpp \
           model/WritableWaveFileModel.cpp \
           osc/OSCMessage.cpp \
           osc/OSCQueue.cpp