substantial part of infrastructure required for track/bus duplication
[ardour.git] / libs / ardour / ardour / types.h
index 5bd7b879290c416f0c0a99950f458b3c8c489068..1a17c01f86c0ecb51cf23f918ba17788086db7af 100644 (file)
@@ -140,6 +140,8 @@ namespace ARDOUR {
                EnvelopeAutomation,
                RecEnableAutomation,
                TrimAutomation,
+               PhaseAutomation,
+               SendAutomation,
        };
 
        enum AutoState {
@@ -457,7 +459,7 @@ namespace ARDOUR {
                AutoConnectPhysical = 0x1,
                AutoConnectMaster = 0x2
        };
-        
+
     enum TracksAutoNamingRule {
         UseDefaultNames = 0x1,
         NameAfterDriver = 0x2
@@ -610,8 +612,8 @@ namespace ARDOUR {
                   this equality cannot be assumed.
                */
                TransportStopped = 0,
-               TransportRolling = 1, 
-               TransportLooping = 2, 
+               TransportRolling = 1,
+               TransportLooping = 2,
                TransportStarting = 3,
        };
 
@@ -619,7 +621,7 @@ namespace ARDOUR {
                /* these values happen to match the constants used by JACK but
                   this equality cannot be assumed.
                */
-               IsInput = 0x1, 
+               IsInput = 0x1,
                IsOutput = 0x2,
                IsPhysical = 0x4,
                CanMonitor = 0x8,
@@ -645,6 +647,12 @@ namespace ARDOUR {
                RegionSelectionStart = 0x8,
        };
 
+       enum PlaylistDisposition {
+               CopyPlaylist,
+               NewPlaylist,
+               SharePlaylist
+       };
+
 } // namespace ARDOUR
 
 
@@ -730,7 +738,7 @@ session_frame_to_track_frame (ARDOUR::framepos_t session_frame, double speed)
 static inline ARDOUR::framepos_t
 track_frame_to_session_frame (ARDOUR::framepos_t track_frame, double speed)
 {
-       /* NB - do we need a check for speed == 0 ??? */ 
+       /* NB - do we need a check for speed == 0 ??? */
        long double result = (long double) track_frame / (long double) speed;
 
        if (result >= (long double) ARDOUR::max_framepos) {