diff dsp/chromagram/ConstantQ.h @ 465:50a97c8d52ed

Apply fix from daschuer/mixxx:957aed58 : Use double precision for FS
author Chris Cannam <cannam@all-day-breakfast.com>
date Wed, 29 May 2019 13:55:26 +0100
parents d5014ab8b0e5
children fdaa63607c15
line wrap: on
line diff
--- a/dsp/chromagram/ConstantQ.h	Wed May 29 13:55:07 2019 +0100
+++ b/dsp/chromagram/ConstantQ.h	Wed May 29 13:55:26 2019 +0100
@@ -20,8 +20,8 @@
 #include "maths/MathAliases.h"
 #include "maths/MathUtilities.h"
 
-struct CQConfig{
-    unsigned int FS;   // samplerate
+struct CQConfig {
+    double FS;         // samplerate
     double min;        // minimum frequency
     double max;        // maximum frequency
     unsigned int BPO;  // bins per octave
@@ -58,7 +58,7 @@
     void deInitialise();
 	
     double* m_CQdata;
-    unsigned int m_FS;
+    double m_FS;
     double m_FMin;
     double m_FMax;
     double m_dQ;