diff dsp/signalconditioning/DFProcess.h @ 503:b1f72e469ec8

Style fixes: avoid unsigned, fix formatting
author Chris Cannam <cannam@all-day-breakfast.com>
date Wed, 05 Jun 2019 11:18:11 +0100
parents 701233f8ed41
children
line wrap: on
line diff
--- a/dsp/signalconditioning/DFProcess.h	Wed Jun 05 11:05:58 2019 +0100
+++ b/dsp/signalconditioning/DFProcess.h	Wed Jun 05 11:18:11 2019 +0100
@@ -24,16 +24,18 @@
 #ifndef QM_DSP_DFPROCESS_H
 #define QM_DSP_DFPROCESS_H
 
-#include <stdio.h>
 #include "FiltFilt.h"
 
-struct DFProcConfig{
-    unsigned int length; 
-    unsigned int LPOrd; 
+#include <stdio.h>
+
+struct DFProcConfig
+{
+    int length; 
+    int LPOrd; 
     double *LPACoeffs; 
     double *LPBCoeffs; 
-    unsigned int winPre;
-    unsigned int winPost; 
+    int winPre;
+    int winPost; 
     double AlphaNormParam;
     bool isMedianPositive;
     float delta; //delta threshold used as an offset when computing the smoothed detection function