summaryrefslogtreecommitdiff
path: root/rotord/vampHost.h
diff options
context:
space:
mode:
Diffstat (limited to 'rotord/vampHost.h')
-rw-r--r--rotord/vampHost.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/rotord/vampHost.h b/rotord/vampHost.h
index de6ae02..942c98b 100644
--- a/rotord/vampHost.h
+++ b/rotord/vampHost.h
@@ -55,12 +55,22 @@ namespace vampHost {
};
class Analyser{
public:
- void init(const string &soname,const string &id,const int &rate);
+ bool init(const string &soname,const string &id,const int &_channels,const int &_bits,const int &_samples,const int &_rate,const int &_outputNo=0,const string &_output="");
+ void process_frame(uint8_t *data,int samples_in_frame);
+ void cleanup();
vector<float> beats;
private:
PluginLoader *loader;
PluginLoader::PluginKey key;
Plugin *plugin;
+ int channels,bits,samples,rate;
+ int bytes,stride;
+ float scale;
+ int blockSize,stepSize,overlapSize,finalStepsRemaining,currentStep,outputNo;
+ int in_block,blocks_processed;
+ string output;
+ float *filebuf;
+ float **plugbuf;
};
string getQMBeats(const string soundfile);