diff audioio/PlaySpeedRangeMapper.h @ 60:06b3c3f437e6

* Make audio dial remember its more accurate mapped value as well as its display position * Add tool tip support to audio dial to show values
author Chris Cannam
date Tue, 17 Oct 2006 13:04:49 +0000
parents 1016a8ceceda
children bedc7517b6e8
line wrap: on
line diff
--- a/audioio/PlaySpeedRangeMapper.h	Tue Oct 17 11:42:14 2006 +0000
+++ b/audioio/PlaySpeedRangeMapper.h	Tue Oct 17 13:04:49 2006 +0000
@@ -26,6 +26,9 @@
     virtual int getPositionForValue(float value) const;
     virtual float getValueForPosition(int position) const;
 
+    int getPositionForFactor(float factor) const;
+    float getValueForFactor(float factor) const;
+
     float getFactorForPosition(int position) const;
     float getFactorForValue(float value) const;