summaryrefslogtreecommitdiff
path: root/rotord/vampHost.h
diff options
context:
space:
mode:
authorTim Redfern <tim@herge.(none)>2013-02-27 16:47:24 +0000
committerTim Redfern <tim@herge.(none)>2013-02-27 16:47:24 +0000
commit2f3b709e63e9aba347f6513565d4283b24b351d3 (patch)
tree7ce73bea02bf1717e141f620aa1ade7e10ec9f1a /rotord/vampHost.h
parent06c11d8aa29e3a097c3ceb076b7d78f1c28a974f (diff)
audio plugin worker
Diffstat (limited to 'rotord/vampHost.h')
-rw-r--r--rotord/vampHost.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/rotord/vampHost.h b/rotord/vampHost.h
index 03a375e..d4ae1ac 100644
--- a/rotord/vampHost.h
+++ b/rotord/vampHost.h
@@ -2,6 +2,8 @@
#include <vamp-hostsdk/PluginInputDomainAdapter.h>
#include <vamp-hostsdk/PluginLoader.h>
+#include "Poco/Mutex.h"
+
#include <iostream>
#include <fstream>
#include <set>
@@ -26,7 +28,7 @@ using Vamp::HostExt::PluginInputDomainAdapter;
#define HOST_VERSION "1.5"
namespace vampHost {
-
+
class Settings{
public:
Settings(string _so="",string _filter="",string _input="") {
@@ -38,9 +40,17 @@ namespace vampHost {
string filtername;
string inputFile;
};
+ class QMBeats{
+ public:
+ int process(const string soundfile);
+ float getProgress();
+ private:
+ float progress;
+ Poco::Mutex mutex; //lock for progress data
+ };
-
+ string getQMBeats(const string soundfile);
void printFeatures(int, int, int, Plugin::FeatureSet, ostream &, bool frames);
int runPlugin(string myname, string soname, string id, string output,int outputNo, string inputFile, ostream& out, bool frames);
-} \ No newline at end of file
+}