diff layer/SpectrogramLayer.cpp @ 222:cd81066ac7ad

* More useful status bar text -- show the current play time and the extents of the visible area * Add update-i18n.sh to update the i18n/ts and qm files -- I can't get qmake to do the right thing now that the project file has been split up into several project files * Fix missing Q_OBJECTs, etc, reported by lupdate * Update Russian translation from AlexandrE
author Chris Cannam
date Wed, 07 Mar 2007 17:07:02 +0000
parents 9e739f92c0b8
children 9465b5375235
line wrap: on
line diff
--- a/layer/SpectrogramLayer.cpp	Mon Mar 05 15:32:55 2007 +0000
+++ b/layer/SpectrogramLayer.cpp	Wed Mar 07 17:07:02 2007 +0000
@@ -2027,7 +2027,10 @@
         Preferences::getInstance()->getSpectrogramSmoothing();
     if (smoothing == Preferences::SpectrogramInterpolated ||
         smoothing == Preferences::SpectrogramZeroPaddedAndInterpolated) {
-        interpolate = true;
+        if (m_binDisplay != PeakBins &&
+            m_binDisplay != PeakFrequencies) {
+            interpolate = true;
+        }
     }