diff base/Preferences.cpp @ 1578:07f23b90701a

Remove oversampling from prefs, now that it's in the spectrogram layer properties
author Chris Cannam
date Wed, 14 Nov 2018 15:46:35 +0000
parents ea28ee929034
children 70e172e6cc59
line wrap: on
line diff
--- a/base/Preferences.cpp	Wed Nov 14 14:21:53 2018 +0000
+++ b/base/Preferences.cpp	Wed Nov 14 15:46:35 2018 +0000
@@ -241,7 +241,7 @@
 {
     if (name == "Spectrogram Y Smoothing") {
         if (min) *min = 0;
-        if (max) *max = 3;
+        if (max) *max = 1;
         if (deflt) *deflt = int(SpectrogramInterpolated);
         return int(m_spectrogramSmoothing);
     }
@@ -353,8 +353,6 @@
         switch (value) {
         case NoSpectrogramSmoothing: return tr("None");
         case SpectrogramInterpolated: return tr("Linear interpolation");
-        case SpectrogramZeroPadded: return tr("4 x Oversampling");
-        case SpectrogramZeroPaddedAndInterpolated: return tr("4 x Oversampling with interpolation");
         }
     }
     if (name == "Spectrogram X Smoothing") {