summaryrefslogtreecommitdiff
path: root/rotord/src/vampHost.h
diff options
context:
space:
mode:
Diffstat (limited to 'rotord/src/vampHost.h')
-rw-r--r--rotord/src/vampHost.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/rotord/src/vampHost.h b/rotord/src/vampHost.h
index d1dfc81..241ffce 100644
--- a/rotord/src/vampHost.h
+++ b/rotord/src/vampHost.h
@@ -32,7 +32,11 @@ using Vamp::HostExt::PluginInputDomainAdapter;
#define HOST_VERSION "1.5"
namespace vampHost {
-
+ struct feature{
+ feature():number(0){};
+ int number;
+ vector<float> values;
+ };
class Settings{
public:
Settings(string _so="",string _filter="",string _input="") {
@@ -60,7 +64,8 @@ namespace vampHost {
void process_frame(uint8_t *data,int samples_in_frame);
void cleanup();
- map<double,int> features;
+ //map<double,int> features;
+ map<double,feature> features;
//map<time,featureNo>
//this is the best way to store features: because map allows to search for the key below and above the present time