Automation of LV2 plugin properties.
[ardour.git] / libs / ardour / ardour / audioanalyser.h
index 7bb12b2b633b350ca7d33043d825bf320142e052..6a9738eb5ab202d323cf3ad83d3540b89b59ce1a 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2008 Paul Davis 
+    Copyright (C) 2008 Paul Davis
 
     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
 #include <string>
 #include <ostream>
 #include <fstream>
-#include <vamp-sdk/Plugin.h>
 #include <boost/utility.hpp>
-#include <ardour/audioregion.h>
+#include "vamp-sdk/Plugin.h"
+#include "ardour/libardour_visibility.h"
+#include "ardour/types.h"
 
 namespace ARDOUR {
 
 class Readable;
 class Session;
 
-class AudioAnalyser : public boost::noncopyable {
+class LIBARDOUR_API AudioAnalyser : public boost::noncopyable {
 
   public:
        typedef Vamp::Plugin AnalysisPlugin;
@@ -41,7 +42,7 @@ class AudioAnalyser : public boost::noncopyable {
 
        AudioAnalyser (float sample_rate, AnalysisPluginKey key);
        virtual ~AudioAnalyser();
-       
+
        /* analysis object should provide a run method
           that accepts a path to write the results to (optionally empty)
           a Readable* to read data from
@@ -56,9 +57,9 @@ class AudioAnalyser : public boost::noncopyable {
        AnalysisPlugin* plugin;
        AnalysisPluginKey plugin_key;
 
-       nframes64_t bufsize;
-       nframes64_t stepsize;
-       
+       framecnt_t bufsize;
+       framecnt_t stepsize;
+
        int initialize_plugin (AnalysisPluginKey name, float sample_rate);
        int analyse (const std::string& path, Readable*, uint32_t channel);