diff layer/SpectrogramLayer.cpp @ 1128:4e022a3e567b spectrogram-minor-refactor

Float/double conversion fixes
author Chris Cannam
date Mon, 01 Aug 2016 16:25:06 +0100
parents 9fb8dfd7ce4c
children 371320c9f8d9
line wrap: on
line diff
--- a/layer/SpectrogramLayer.cpp	Mon Aug 01 16:21:01 2016 +0100
+++ b/layer/SpectrogramLayer.cpp	Mon Aug 01 16:25:06 2016 +0100
@@ -65,8 +65,8 @@
     m_windowHopLevel(2),
     m_gain(1.0),
     m_initialGain(1.0),
-    m_threshold(1.0e-8),
-    m_initialThreshold(1.0e-8),
+    m_threshold(1.0e-8f),
+    m_initialThreshold(1.0e-8f),
     m_colourRotation(0),
     m_initialRotation(0),
     m_minFrequency(10),