Mercurial > hg > tony
diff src/Analyser.h @ 399:ffd1a89a68fa cxx11-types
Build fixes etc
author | Chris Cannam |
---|---|
date | Wed, 11 Mar 2015 11:54:29 +0000 |
parents | 6b57c58b88d2 |
children | a0eedd10dee3 |
line wrap: on
line diff
--- a/src/Analyser.h Mon Jun 16 13:04:09 2014 +0100 +++ b/src/Analyser.h Wed Mar 11 11:54:29 2015 +0000 @@ -55,8 +55,8 @@ void setIntelligentActions(bool); - bool getDisplayFrequencyExtents(float &min, float &max); - bool setDisplayFrequencyExtents(float min, float max); + bool getDisplayFrequencyExtents(double &min, double &max); + bool setDisplayFrequencyExtents(double min, double max); // Return completion %age for initial analysis -- 100 means it's done int getInitialAnalysisCompletion(); @@ -100,14 +100,14 @@ float getPan(Component c) const; void setPan(Component c, float pan); - void getEnclosingSelectionScope(size_t f, size_t &f0, size_t &f1); + void getEnclosingSelectionScope(sv_frame_t f, sv_frame_t &f0, sv_frame_t &f1); struct FrequencyRange { FrequencyRange() : min(0), max(0) { } - FrequencyRange(float min_, float max_) : min(min_), max(max_) { } + FrequencyRange(double min_, double max_) : min(min_), max(max_) { } bool isConstrained() const { return min != max; } - float min; - float max; + double min; + double max; }; /**