Mercurial > hg > svapp
comparison audioio/PlaySpeedRangeMapper.h @ 351:36efd75d7b7b tonioni
Merge from default branch
author | Chris Cannam |
---|---|
date | Wed, 14 May 2014 09:58:27 +0100 |
parents | 46b24009ce7a |
children | dee4aceb131c |
comparison
equal
deleted
inserted
replaced
344:63dec7dc11cc | 351:36efd75d7b7b |
---|---|
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; |