Fix code style
[ardour.git] / libs / ardour / ardour / route.h
index 235ae2089b7c7c7ec1c5b1d1c71a764240380864..bfd894375be86804b65d0558cb9837e0e8c758ea 100644 (file)
@@ -71,12 +71,14 @@ class DiskWriter;
 class IOProcessor;
 class Panner;
 class PannerShell;
+class PolarityProcessor;
 class PortSet;
 class Processor;
 class PluginInsert;
 class RouteGroup;
 class Send;
 class InternalReturn;
+class Location;
 class MonitorControl;
 class MonitorProcessor;
 class Pannable;
@@ -132,6 +134,8 @@ public:
        boost::shared_ptr<MonitorControl> monitoring_control() const { return _monitoring_control; }
 
        MonitorState monitoring_state () const;
+       virtual MonitorState get_auto_monitoring_state () const { return MonitoringSilence; }
+
        virtual MeterState metering_state () const;
 
        /* these are the core of the API of a Route. see the protected sections as well */
@@ -151,6 +155,7 @@ public:
        virtual void realtime_locate () {}
        virtual void non_realtime_locate (samplepos_t);
        virtual void set_pending_declick (int);
+       void set_loop (ARDOUR::Location *);
 
        /* end of vfunc-based API */
 
@@ -351,6 +356,8 @@ public:
        PBD::Signal0<void> denormal_protection_changed;
        PBD::Signal0<void> comment_changed;
 
+       bool is_track();
+
        /** track numbers - assigned by session
         * nubers > 0 indicate tracks (audio+midi)
         * nubers < 0 indicate busses
@@ -527,6 +534,7 @@ public:
        boost::shared_ptr<AutomationControl> filter_slope_controllable (bool) const;
        boost::shared_ptr<AutomationControl> filter_enable_controllable (bool) const;
 
+       boost::shared_ptr<AutomationControl> tape_drive_controllable () const;
 
        /* "well-known" controls for a compressor in this route. Any or all may
         * be null.
@@ -661,7 +669,6 @@ protected:
 
        boost::shared_ptr<SoloControl> _solo_control;
        boost::shared_ptr<MuteControl> _mute_control;
-       boost::shared_ptr<PhaseControl> _phase_control;
        boost::shared_ptr<SoloIsolateControl> _solo_isolate_control;
        boost::shared_ptr<SoloSafeControl> _solo_safe_control;
 
@@ -671,6 +678,7 @@ protected:
        FedBy          _fed_by;
 
        InstrumentInfo _instrument_info;
+       Location*      _loop_location;
 
        virtual ChanCount input_streams () const;
 
@@ -689,11 +697,13 @@ protected:
 
        virtual void maybe_declick (BufferSet&, samplecnt_t, int);
 
-       boost::shared_ptr<GainControl> _gain_control;
-       boost::shared_ptr<Amp>       _amp;
-       boost::shared_ptr<GainControl> _trim_control;
-       boost::shared_ptr<Amp>       _trim;
-       boost::shared_ptr<PeakMeter> _meter;
+       boost::shared_ptr<GainControl>  _gain_control;
+       boost::shared_ptr<GainControl>  _trim_control;
+       boost::shared_ptr<PhaseControl> _phase_control;
+       boost::shared_ptr<Amp>               _amp;
+       boost::shared_ptr<Amp>               _trim;
+       boost::shared_ptr<PeakMeter>         _meter;
+       boost::shared_ptr<PolarityProcessor> _polarity;
 
        boost::shared_ptr<DelayLine> _delayline;