Apply master-value to automation on disconnect.
[ardour.git] / libs / ardour / ardour / session_event.h
index 02759bba7e49a17b1defad913e5d90cc0b866bb9..fe109a21f82a6a2b0ae737c2d02e18b8374489bc 100644 (file)
@@ -47,6 +47,7 @@ public:
                SetLoop,
                PunchIn,
                PunchOut,
+               RecordStart,
                RangeStop,
                RangeLocate,
                Overwrite,
@@ -84,26 +85,28 @@ public:
        union {
                void*        ptr;
                bool         yes_or_no;
-               framepos_t  target2_frame;
+               framepos_t   target2_frame;
                Slave*       slave;
                Route*       route;
        };
 
        union {
                bool second_yes_or_no;
+               double control_value;
        };
 
        union {
                bool third_yes_or_no;
        };
 
-       /* 4 members to handle a multi-group event handled in RT context */
+       /* 5 members to handle a multi-group event handled in RT context */
 
        typedef boost::function<void (SessionEvent*)> RTeventCallback;
 
-       boost::shared_ptr<RouteList> routes;    /* apply to */
-       boost::function<void (void)> rt_slot;   /* what to call in RT context */
-       RTeventCallback              rt_return; /* called after rt_slot, with this event as an argument */
+       boost::shared_ptr<ControlList> controls; /* apply to */
+       boost::shared_ptr<RouteList> routes;     /* apply to */
+       boost::function<void (void)> rt_slot;    /* what to call in RT context */
+       RTeventCallback              rt_return;  /* called after rt_slot, with this event as an argument */
        PBD::EventLoop*              event_loop;
 
        std::list<AudioRange> audio_range;
@@ -139,7 +142,7 @@ public:
        static void init_event_pool ();
 
        CrossThreadPool* event_pool() const { return own_pool; }
-       
+
 private:
        static PerThreadPool* pool;
        CrossThreadPool* own_pool;