Mercurial > hg > svcore
comparison data/fft/FFTDataServer.h @ 549:388afa99d537
* More careful (I hope!) locking
author | Chris Cannam |
---|---|
date | Thu, 05 Feb 2009 12:53:19 +0000 |
parents | 1469caaa8e67 |
children | 107d3f3705c9 |
comparison
equal
deleted
inserted
replaced
548:1469caaa8e67 | 549:388afa99d537 |
---|---|
226 | 226 |
227 StorageAdviser::Criteria m_criteria; | 227 StorageAdviser::Criteria m_criteria; |
228 | 228 |
229 void getStorageAdvice(size_t w, size_t h, bool &memory, bool &compact); | 229 void getStorageAdvice(size_t w, size_t h, bool &memory, bool &compact); |
230 | 230 |
231 QMutex m_writeMutex; | 231 QMutex m_fftBuffersLock; |
232 QWaitCondition m_condition; | 232 QWaitCondition m_condition; |
233 | 233 |
234 fftsample *m_fftInput; | 234 fftsample *m_fftInput; |
235 fftf_complex *m_fftOutput; | 235 fftf_complex *m_fftOutput; |
236 float *m_workbuffer; | 236 float *m_workbuffer; |
257 bool m_exiting; | 257 bool m_exiting; |
258 bool m_suspended; | 258 bool m_suspended; |
259 FillThread *m_fillThread; | 259 FillThread *m_fillThread; |
260 | 260 |
261 void deleteProcessingData(); | 261 void deleteProcessingData(); |
262 void fillColumn(size_t x, bool lockHeld); | 262 void fillColumn(size_t x, FFTCacheReader *tester = 0); |
263 void fillComplete(); | 263 void fillComplete(); |
264 | 264 |
265 QString generateFileBasename() const; | 265 QString generateFileBasename() const; |
266 static QString generateFileBasename(const DenseTimeValueModel *model, | 266 static QString generateFileBasename(const DenseTimeValueModel *model, |
267 int channel, | 267 int channel, |