diff runner/FeatureExtractionManager.h @ 331:e39307a8d22d

Use sv samplerate/frame types, fixing compiler warnings
author Chris Cannam
date Tue, 12 Jun 2018 10:14:22 +0100
parents 0e866ef12d87
children 9f7297c47850
line wrap: on
line diff
--- a/runner/FeatureExtractionManager.h	Tue Jun 12 10:11:29 2018 +0100
+++ b/runner/FeatureExtractionManager.h	Tue Jun 12 10:14:22 2018 +0100
@@ -42,7 +42,7 @@
     virtual ~FeatureExtractionManager();
 
     void setChannels(int channels);
-    void setDefaultSampleRate(int sampleRate);
+    void setDefaultSampleRate(sv_samplerate_t sampleRate);
     void setNormalise(bool normalise);
 
     bool setSummaryTypes(const set<string> &summaryTypes,
@@ -136,8 +136,8 @@
     void finish();
 
     int m_blockSize;
-    int m_defaultSampleRate;
-    int m_sampleRate;
+    sv_samplerate_t m_defaultSampleRate;
+    sv_samplerate_t m_sampleRate;
     int m_channels;
     bool m_normalise;