summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/monitor_processor.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/ardour/monitor_processor.h')
-rw-r--r--libs/ardour/ardour/monitor_processor.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/ardour/monitor_processor.h b/libs/ardour/ardour/monitor_processor.h
index 4bf399c16a..e453551b0b 100644
--- a/libs/ardour/ardour/monitor_processor.h
+++ b/libs/ardour/ardour/monitor_processor.h
@@ -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 */