Mercurial > hg > svapp
comparison audioio/PlaySpeedRangeMapper.h @ 330:46b24009ce7a
Unclamped
author | Chris Cannam |
---|---|
date | Thu, 06 Feb 2014 15:31:57 +0000 |
parents | 3c5756fb6a68 |
children | dee4aceb131c |
comparison
equal
deleted
inserted
replaced
304:c837368b1faf | 330:46b24009ce7a |
---|---|
22 { | 22 { |
23 public: | 23 public: |
24 PlaySpeedRangeMapper(int minpos, int maxpos); | 24 PlaySpeedRangeMapper(int minpos, int maxpos); |
25 | 25 |
26 virtual int getPositionForValue(float value) const; | 26 virtual int getPositionForValue(float value) const; |
27 virtual int getPositionForValueUnclamped(float value) const; | |
28 | |
27 virtual float getValueForPosition(int position) const; | 29 virtual float getValueForPosition(int position) const; |
30 virtual float getValueForPositionUnclamped(int position) const; | |
28 | 31 |
29 int getPositionForFactor(float factor) const; | 32 int getPositionForFactor(float factor) const; |
30 float getValueForFactor(float factor) const; | 33 float getValueForFactor(float factor) const; |
31 | 34 |
32 float getFactorForPosition(int position) const; | 35 float getFactorForPosition(int position) const; |