diff audioio/PlaySpeedRangeMapper.h @ 450:d9d132c0e240 alignment_view

Merge from default branch
author Chris Cannam
date Mon, 20 Apr 2015 09:21:32 +0100
parents dee4aceb131c
children 45054b36ddbf
line wrap: on
line diff
--- a/audioio/PlaySpeedRangeMapper.h	Fri Nov 28 10:33:25 2014 +0000
+++ b/audioio/PlaySpeedRangeMapper.h	Mon Apr 20 09:21:32 2015 +0100
@@ -23,17 +23,17 @@
 public:
     PlaySpeedRangeMapper(int minpos, int maxpos);
 
-    virtual int getPositionForValue(float value) const;
-    virtual int getPositionForValueUnclamped(float value) const;
+    virtual int getPositionForValue(double value) const;
+    virtual int getPositionForValueUnclamped(double value) const;
 
-    virtual float getValueForPosition(int position) const;
-    virtual float getValueForPositionUnclamped(int position) const;
+    virtual double getValueForPosition(int position) const;
+    virtual double getValueForPositionUnclamped(int position) const;
 
-    int getPositionForFactor(float factor) const;
-    float getValueForFactor(float factor) const;
+    int getPositionForFactor(double factor) const;
+    double getValueForFactor(double factor) const;
 
-    float getFactorForPosition(int position) const;
-    float getFactorForValue(float value) const;
+    double getFactorForPosition(int position) const;
+    double getFactorForValue(double value) const;
 
     virtual QString getUnit() const;