diff layer/SpectrogramLayer.h @ 490:aa477ddcadb5

* Restore (better quality) y-axis interpolation in spectrogram * Make spectrogram x axis interpolation a preference
author Chris Cannam
date Fri, 06 Feb 2009 15:06:23 +0000
parents 5cd6f0d3f42d
children c74e511a3c96
line wrap: on
line diff
--- a/layer/SpectrogramLayer.h	Thu Feb 05 17:46:34 2009 +0000
+++ b/layer/SpectrogramLayer.h	Fri Feb 06 15:06:23 2009 +0000
@@ -425,7 +425,7 @@
     void invalidateMagnitudes();
     bool updateViewMagnitudes(View *v) const;
     bool paintDrawBuffer(View *v, int w, int h,
-                         int *binforx, int *binfory,
+                         int *binforx, float *binfory,
                          bool usePeaksCache) const;
     bool paintDrawBufferPeakFrequencies(View *v, int w, int h,
                                         int *binforx,