remove unused line
[ardour.git] / libs / ardour / ardour / stripable.h
index b657ac6161b19c67e822fbc57d1d51972c06124f..5c36b39d310409ac71c805f54e7af31de52b8312 100644 (file)
@@ -71,6 +71,7 @@ class LIBARDOUR_API Stripable : public SessionObject,
         */
 
        bool is_auditioner() const { return _presentation_info.flags() & PresentationInfo::Auditioner; }
+       bool is_private_route() const { return is_auditioner(); }
        bool is_master() const { return _presentation_info.flags() & PresentationInfo::MasterOut; }
        bool is_monitor() const { return _presentation_info.flags() & PresentationInfo::MonitorOut; }
 
@@ -87,10 +88,11 @@ class LIBARDOUR_API Stripable : public SessionObject,
 
        void  set_presentation_order (PresentationInfo::order_t);
 
-       struct PresentationOrderSorter {
-               bool operator() (boost::shared_ptr<Stripable> a, boost::shared_ptr<Stripable> b) {
-                       return a->presentation_info().order() < b->presentation_info().order();
-               }
+       struct LIBARDOUR_API Sorter
+       {
+               bool _mixer_order; // master is last
+               Sorter (bool mixer_order = false) : _mixer_order (mixer_order) {}
+               bool operator() (boost::shared_ptr<ARDOUR::Stripable> a, boost::shared_ptr<ARDOUR::Stripable> b);
        };
 
        /* gui's call this for their own purposes. */
@@ -145,6 +147,8 @@ class LIBARDOUR_API Stripable : public SessionObject,
        virtual boost::shared_ptr<AutomationControl> filter_slope_controllable (bool hp) const = 0;
        virtual boost::shared_ptr<AutomationControl> filter_enable_controllable (bool hp) const = 0;
 
+       virtual boost::shared_ptr<AutomationControl> tape_drive_controllable () const { return boost::shared_ptr<AutomationControl>(); }
+
        /* "well-known" controls for a compressor in this route. Any or all may
         * be null.
         */
@@ -175,6 +179,7 @@ class LIBARDOUR_API Stripable : public SessionObject,
         */
        virtual boost::shared_ptr<AutomationControl> send_level_controllable (uint32_t n) const = 0;
        virtual boost::shared_ptr<AutomationControl> send_enable_controllable (uint32_t n) const = 0;
+       virtual boost::shared_ptr<AutomationControl> send_pan_azi_controllable (uint32_t n) const = 0;
 
        /* for the same value of @param n, this returns the name of the send
         * associated with the pair of controllables returned by the above two methods.