summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/monitor_processor.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-07-27 14:09:16 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-07-27 14:09:16 +0000
commitece5093234e4c185cf536d2b4e5edfeb90622409 (patch)
treede566ed8a317eaac10b13c6e06a11ab3f68c97e7 /libs/ardour/ardour/monitor_processor.h
parentfbc946d60dbe68016abcc386932b35c4ef4ba1af (diff)
change Control::{set,get}_float to Control::{set,get}_double and make almost all Control-related stuff use double rather than random mixtures of float, double and some integer value ; make hans' program change stuff work quite a bit better (not finished yet) including keyboard edting of pgm change values
git-svn-id: svn://localhost/ardour2/branches/3.0@7514 d708f5d6-7413-0410-9779-e7cbd77b26cf
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 */