From 1d05d2380bb4f1fd265aef55744f432af38b08aa Mon Sep 17 00:00:00 2001 From: Comment Date: Sun, 8 Dec 2013 10:55:03 +0000 Subject: switched signals to double and random to uint16 --- rotord/src/vampHost.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'rotord/src/vampHost.h') diff --git a/rotord/src/vampHost.h b/rotord/src/vampHost.h index 856a2cc..e44e981 100644 --- a/rotord/src/vampHost.h +++ b/rotord/src/vampHost.h @@ -52,10 +52,10 @@ namespace vampHost { class QMAnalyser{ public: int process(const string soundfile); - float get_progress(); + double get_progress(); vector beats; private: - float progress; + double progress; Poco::Mutex mutex; //lock for progress data }; class Analyser{ @@ -64,7 +64,7 @@ namespace vampHost { bool init(const string &soname,const string &id,const int &_channels,const int &_bits,const int &_samples,const int &_rate,int outputNo,const map ¶ms); void process_frame(uint8_t *data,int samples_in_frame); void cleanup(); - float get_value(const float &time); + double get_value(const double &time); //map features; map features; //map @@ -77,7 +77,7 @@ namespace vampHost { RealTime rt; int channels,bits,samples,rate; int bytes,stride; - float scale; + double scale; int blockSize,stepSize,overlapSize,finalStepsRemaining,currentStep,outputNo; int in_block,blocks_processed; string output; @@ -89,7 +89,7 @@ namespace vampHost { string getQMBeats(const string soundfile); void printFeatures(int, int, int, Plugin::FeatureSet, ostream &, bool frames); - void getTimestamps(int output,Plugin::FeatureSet features, vector& out); - void rotorGetFeatures(int frame, int sr, int output,Plugin::FeatureSet features, vector& out, float& progress); + void getTimestamps(int output,Plugin::FeatureSet features, vector& out); + void rotorGetFeatures(int frame, int sr, int output,Plugin::FeatureSet features, vector& out, double& progress); } -- cgit v1.2.3