From 2f3b709e63e9aba347f6513565d4283b24b351d3 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Wed, 27 Feb 2013 16:47:24 +0000 Subject: audio plugin worker --- rotord/vampHost.h | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'rotord/vampHost.h') 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 #include +#include "Poco/Mutex.h" + #include #include #include @@ -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 +} -- cgit v1.2.3