# HG changeset patch # User Chris Cannam # Date 1237221702 0 # Node ID f9cf4b49b08bea3021486ee5f1179ccab21efd38 # Parent 2ba202c5be8da2862924f362d3c40512770fda11 * debug tidy diff -r 2ba202c5be8d -r f9cf4b49b08b data/fft/FFTFileCacheWriter.cpp --- a/data/fft/FFTFileCacheWriter.cpp Mon Mar 16 16:36:23 2009 +0000 +++ b/data/fft/FFTFileCacheWriter.cpp Mon Mar 16 16:41:42 2009 +0000 @@ -43,7 +43,9 @@ storageType == FFTCache::Compact ? sizeof(uint16_t) : sizeof(float), width, height * 2 + m_factorSize)) { +#ifdef DEBUG_FFT_FILE_CACHE_WRITER std::cerr << "FFTFileCacheWriter: storage type is " << (storageType == FFTCache::Compact ? "Compact" : storageType == FFTCache::Polar ? "Polar" : "Rectangular") << ", size " << width << "x" << height << std::endl; +#endif m_mfc->setAutoClose(true); m_writebuf = new char[(height * 2 + m_factorSize) * m_mfc->getCellSize()]; }