changeset 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
files layer/SpectrogramLayer.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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),