Fix binding of automation list undo records to MIDI sources. Should fix the remainde...
[ardour.git] / libs / pbd / pbd / controllable.h
index f8d8f828559038fa568b04834055cb4892c47d56..9f5ed5251b125294f203770c8bced207eca65398 100644 (file)
@@ -72,6 +72,9 @@ class Controllable : public PBD::StatefulDestructible {
        bool is_gain_like() const { return _flags & GainLike; }
        bool is_integral_only() const { return _flags & IntegerOnly; }
 
+        virtual float lower() const { return 0.0f; }
+        virtual float upper() const { return 1.0f; }
+
        Flag flags() const { return _flags; }
        void set_flags (Flag f);