Mercurial > hg > svcore
diff data/fft/FFTCache.h @ 408:115f60df1e4d
* Speed up spectrogram painting by releasing mutex in FFTDataServer
while calculating data prior to writing it, and by adding whole-column
value query methods to FFT objects
* Add paint cache to Thumbwheel -- repaints of this widget were slowing
down the whole spectrogram repaint
* More uses of MutexLocker (named and with debug) and more profile
points
* Make startup much quicker some of the time, with OSC server in place
author | Chris Cannam |
---|---|
date | Thu, 08 May 2008 14:46:22 +0000 |
parents | 824ee993ca8d |
children | 6066bde1c126 |
line wrap: on
line diff
--- a/data/fft/FFTCache.h Tue Apr 29 15:34:17 2008 +0000 +++ b/data/fft/FFTCache.h Thu May 08 14:46:22 2008 +0000 @@ -49,6 +49,13 @@ virtual void suspend() { } + enum StorageType { + Compact, // 16 bits normalized polar + Rectangular, // floating point real+imag + Polar // floating point mag+phase + }; + virtual StorageType getStorageType() = 0; + enum Type { MemoryCache, FileCache }; virtual Type getType() = 0;