Mercurial > hg > svcore
changeset 243:ff46f251139e
* Fix overzealous cacheing in waveform layer that was leading to inaccurate
positioning of view rects & playback pointer on overview widget sometimes
author | Chris Cannam |
---|---|
date | Thu, 01 Mar 2007 17:12:50 +0000 |
parents | 2f7d27648806 |
children | 85bf384db35f |
files | data/fft/FFTMemoryCache.cpp |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/data/fft/FFTMemoryCache.cpp Thu Mar 01 15:35:27 2007 +0000 +++ b/data/fft/FFTMemoryCache.cpp Thu Mar 01 17:12:50 2007 +0000 @@ -29,7 +29,7 @@ FFTMemoryCache::~FFTMemoryCache() { - std::cerr << "FFTMemoryCache[" << this << "]::~Cache" << std::endl; +// std::cerr << "FFTMemoryCache[" << this << "]::~Cache" << std::endl; for (size_t i = 0; i < m_width; ++i) { if (m_magnitude && m_magnitude[i]) free(m_magnitude[i]); @@ -44,7 +44,7 @@ void FFTMemoryCache::resize(size_t width, size_t height) { - std::cerr << "FFTMemoryCache[" << this << "]::resize(" << width << "x" << height << " = " << width*height << ")" << std::endl; +// std::cerr << "FFTMemoryCache[" << this << "]::resize(" << width << "x" << height << " = " << width*height << ")" << std::endl; if (m_width == width && m_height == height) return; @@ -57,7 +57,7 @@ m_width = width; m_height = height; - std::cerr << "done, width = " << m_width << " height = " << m_height << std::endl; +// std::cerr << "done, width = " << m_width << " height = " << m_height << std::endl; } void