diff plugin/FeatureExtractionPluginFactory.h @ 1040:a1cd5abcb38b cxx11

Introduce and use a samplerate type
author Chris Cannam
date Wed, 04 Mar 2015 12:01:04 +0000
parents b4a8d8221eaf
children bff23ef9407e
line wrap: on
line diff
--- a/plugin/FeatureExtractionPluginFactory.h	Tue Mar 03 17:09:19 2015 +0000
+++ b/plugin/FeatureExtractionPluginFactory.h	Wed Mar 04 12:01:04 2015 +0000
@@ -23,6 +23,7 @@
 #include <vamp-hostsdk/Plugin.h>
 
 #include "base/Debug.h"
+#include "base/BaseTypes.h"
 
 class FeatureExtractionPluginFactory
 {
@@ -42,7 +43,7 @@
     // We don't set blockSize or channels on this -- they're
     // negotiated and handled via initialize() on the plugin
     virtual Vamp::Plugin *instantiatePlugin(QString identifier,
-                                            float inputSampleRate);
+                                            sv_samplerate_t inputSampleRate);
 
     /**
      * Get category metadata about a plugin (without instantiating it).