diff widgets/AudioDial.cpp @ 252:8d89f8869cfb

* don't store fft values scaled by fftsize/2; that's a special requirement for the spectrogram, and other applications will not expect it -- make the spectrogram do that scaling itself * add a higher-resolution memory cache (still polar, though) as an alternative to the 16-bit compact cache * don't use the memory cache if we want rectangular coords (unless the disc cache is totally infeasible) as conversion slows it down anyway * avoid redundant rectangular -> polar -> rectangular conversion when storing values in a rectangular-mode disc cache
author Chris Cannam
date Fri, 01 Jun 2007 13:56:35 +0000
parents e6d0b097d102
children cd2492c5fe45
line wrap: on
line diff
--- a/widgets/AudioDial.cpp	Fri May 18 16:47:38 2007 +0000
+++ b/widgets/AudioDial.cpp	Fri Jun 01 13:56:35 2007 +0000
@@ -376,7 +376,7 @@
 float AudioDial::mappedValue() const
 {
     if (m_rangeMapper) {
-        std::cerr << "AudioDial::mappedValue(): value = " << value() << ", mappedValue = " << m_mappedValue << std::endl;
+//        std::cerr << "AudioDial::mappedValue(): value = " << value() << ", mappedValue = " << m_mappedValue << std::endl;
         return m_mappedValue;
     }
     return value();