Mercurial > hg > svcore
changeset 532:59dd6d1bcfb0
* Make Colour3DPlotLayer::paintDense much faster (but still not fast
enough)
author | Chris Cannam |
---|---|
date | Thu, 22 Jan 2009 17:39:04 +0000 |
parents | 38b1ddf18d4b |
children | 55ad231c9db7 |
files | data/fft/FFTDataServer.cpp data/fileio/CodedAudioFileReader.cpp |
diffstat | 2 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/data/fft/FFTDataServer.cpp Tue Jan 20 18:11:10 2009 +0000 +++ b/data/fft/FFTDataServer.cpp Thu Jan 22 17:39:04 2009 +0000 @@ -27,8 +27,8 @@ #include "base/Profiler.h" #include "base/Thread.h" // for debug mutex locker -//#define DEBUG_FFT_SERVER 1 -//#define DEBUG_FFT_SERVER_FILL 1 +#define DEBUG_FFT_SERVER 1 +#define DEBUG_FFT_SERVER_FILL 1 #ifdef DEBUG_FFT_SERVER_FILL #ifndef DEBUG_FFT_SERVER @@ -751,7 +751,9 @@ if (int(c) != m_lastUsedCache) { -// std::cerr << "switch from " << m_lastUsedCache << " to " << c << std::endl; +#ifdef DEBUG_FFT_SERVER + std::cerr << "switch from " << m_lastUsedCache << " to " << c << std::endl; +#endif for (IntQueue::iterator i = m_dormantCaches.begin(); i != m_dormantCaches.end(); ++i) {
--- a/data/fileio/CodedAudioFileReader.cpp Tue Jan 20 18:11:10 2009 +0000 +++ b/data/fileio/CodedAudioFileReader.cpp Thu Jan 22 17:39:04 2009 +0000 @@ -54,6 +54,8 @@ if (m_cacheFileWritePtr) sf_close(m_cacheFileWritePtr); + std::cerr << "CodedAudioFileReader::~CodedAudioFileReader: deleting cache file reader" << std::endl; + delete m_cacheFileReader; delete[] m_cacheWriteBuffer;