change Control::{set,get}_float to Control::{set,get}_double and make almost all...
[ardour.git] / libs / ardour / ardour / monitor_processor.h
index 4bf399c16a657a9eefde0d0d6747baded1930d46..e453551b0be5bd7d4eaca23229553d9a5ecbae26 100644 (file)
@@ -48,7 +48,7 @@ template<typename T> class MPControl : public PBD::Controllable {
         
         /* Controllable API */
         
-        void set_value (float v) { 
+        void set_value (double v) { 
                 T newval = (T) v;
                 if (newval != _value) {
                         _value = newval;
@@ -56,12 +56,12 @@ template<typename T> class MPControl : public PBD::Controllable {
                 }
         }
         
-        float get_value () const { 
+        double get_value () const { 
                 return (float) _value;
         }
         
-        float lower () const { return _lower; }
-        float upper () const { return _upper; }
+        double lower () const { return _lower; }
+        double upper () const { return _upper; }
 
         /* "access as T" API */