closing in on pin management.
[ardour.git] / libs / ardour / ardour / types.h
index e5ec365dfe1ad96ecb4c274a587ee5ed1aaaf295..8c47666873167a4ca0a189f428e414501988c2e6 100644 (file)
@@ -117,6 +117,13 @@ namespace ARDOUR {
        };
 
        /** See evoral/Parameter.hpp
+        *
+        * When you add things here, you REALLY SHOULD add a case clause to
+        * the constructor of ParameterDescriptor, unless the Controllables
+        * that the enum refers to are completely standard (0-1.0 range, 0.0 as
+        * normal, non-toggled, non-enumerated). Anything else needs to be
+        * added there so that things that try to represent them can do so
+        * with as much information as possible.
         */
        enum AutomationType {
                NullAutomation,
@@ -129,6 +136,8 @@ namespace ARDOUR {
                PluginAutomation,
                PluginPropertyAutomation,
                SoloAutomation,
+               SoloIsolateAutomation,
+               SoloSafeAutomation,
                MuteAutomation,
                MidiCCAutomation,
                MidiPgmChangeAutomation,
@@ -141,6 +150,7 @@ namespace ARDOUR {
                RecEnableAutomation,
                TrimAutomation,
                PhaseAutomation,
+               MonitoringAutomation,
                EQGain,
                EQFrequency,
                EQQ,
@@ -308,7 +318,7 @@ namespace ARDOUR {
 
                AudioRange (framepos_t s, framepos_t e, uint32_t i) : start (s), end (e) , id (i) {}
 
-               framecnt_t length() { return end - start + 1; }
+               framecnt_t length() const { return end - start + 1; }
 
                bool operator== (const AudioRange& other) const {
                        return start == other.start && end == other.end && id == other.id;