diff plugins/DWT.h @ 178:f96ea0e4b475

Fix compiler warnings with -Wall -Wextra
author Chris Cannam <c.cannam@qmul.ac.uk>
date Mon, 28 Sep 2015 12:33:17 +0100
parents dcf5800f0f00
children af6a5ba00a8f
line wrap: on
line diff
--- a/plugins/DWT.h	Tue Sep 08 17:32:03 2015 +0100
+++ b/plugins/DWT.h	Mon Sep 28 12:33:17 2015 +0100
@@ -1,73 +1,73 @@
-/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*-  vi:set ts=8 sts=4 sw=4: */
-
-/*
-  QM Vamp Plugin Set
-
-  Centre for Digital Music, Queen Mary, University of London.
-  This file copyright 2009 Thomas Wilmering.
+/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*-  vi:set ts=8 sts=4 sw=4: */
+
+/*
+  QM Vamp Plugin Set
+
+  Centre for Digital Music, Queen Mary, University of London.
+  This file copyright 2009 Thomas Wilmering.
 
     This program is free software; you can redistribute it and/or
     modify it under the terms of the GNU General Public License as
     published by the Free Software Foundation; either version 2 of the
     License, or (at your option) any later version.  See the file
-    COPYING included with this distribution for more information.
-*/
-
-#ifndef _DWT_PLUGIN_H_
-#define _DWT_PLUGIN_H_
-
-#include <vamp-sdk/Plugin.h>
-
-#include <dsp/wavelet/Wavelet.h>
-
-using std::vector;
-
-class DWT : public Vamp::Plugin
-{
-public:
-    DWT(float inputSampleRate);
-    virtual ~DWT();
-	
-    bool initialise(size_t channels, size_t stepSize, size_t blockSize);
-    void reset();
-	
-    InputDomain getInputDomain() const { return TimeDomain; }
-	
-    std::string getIdentifier() const;
-    std::string getName() const;
-    std::string getDescription() const;
-    std::string getMaker() const;
-    int getPluginVersion() const;
-    std::string getCopyright() const;
-    size_t getPreferredBlockSize() const;
-    size_t getPreferredStepSize() const;
-	
-    OutputList getOutputDescriptors() const;
-		
-    ParameterList getParameterDescriptors() const;
-    float getParameter(std::string paramid) const;
-    void setParameter(std::string paramid, float newval);
-	 	
-    FeatureSet process(const float *const *inputBuffers,
-                       Vamp::RealTime timestamp);
-	
-    FeatureSet getRemainingFeatures();
-	
-protected:
-    size_t m_stepSize;
-    size_t m_blockSize;
-    
-    int m_scales;
-    int m_flength;
-    Wavelet::Type m_wavelet;
-    float m_threshold;
-    float m_absolute;
-
-    vector<float> m_lpd;
-    vector<float> m_hpd;
-	
-    vector< vector<float> > m_samplePass;	
-};
-
-
-#endif
+    COPYING included with this distribution for more information.
+*/
+
+#ifndef _DWT_PLUGIN_H_
+#define _DWT_PLUGIN_H_
+
+#include <vamp-sdk/Plugin.h>
+
+#include <dsp/wavelet/Wavelet.h>
+
+using std::vector;
+
+class DWT : public Vamp::Plugin
+{
+public:
+    DWT(float inputSampleRate);
+    virtual ~DWT();
+	
+    bool initialise(size_t channels, size_t stepSize, size_t blockSize);
+    void reset();
+	
+    InputDomain getInputDomain() const { return TimeDomain; }
+	
+    std::string getIdentifier() const;
+    std::string getName() const;
+    std::string getDescription() const;
+    std::string getMaker() const;
+    int getPluginVersion() const;
+    std::string getCopyright() const;
+    size_t getPreferredBlockSize() const;
+    size_t getPreferredStepSize() const;
+	
+    OutputList getOutputDescriptors() const;
+		
+    ParameterList getParameterDescriptors() const;
+    float getParameter(std::string paramid) const;
+    void setParameter(std::string paramid, float newval);
+	 	
+    FeatureSet process(const float *const *inputBuffers,
+                       Vamp::RealTime timestamp);
+	
+    FeatureSet getRemainingFeatures();
+	
+protected:
+    size_t m_stepSize;
+    size_t m_blockSize;
+    
+    int m_scales;
+    int m_flength;
+    Wavelet::Type m_wavelet;
+    float m_threshold;
+    float m_absolute;
+
+    vector<float> m_lpd;
+    vector<float> m_hpd;
+	
+    vector< vector<float> > m_samplePass;	
+};
+
+
+#endif