diff options
Diffstat (limited to 'rotord/vampHost.h')
| -rw-r--r-- | rotord/vampHost.h | 16 |
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 +} |
