change Controllable::set_value() API to include grouped control consideration.
[ardour.git] / libs / ardour / ardour / track.h
index f699b5d5d3ac388fb67d4ba28d60ead322342233..5bf887f51728f97b2a3609e46710c12404268494 100644 (file)
@@ -57,7 +57,7 @@ class LIBARDOUR_API Track : public Route, public PublicDiskstream
        PBD::Signal0<void> MonitoringChanged;
 
        MeterState metering_state () const;
-       
+
        virtual int no_roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame,
                             bool state_changing);
 
@@ -94,7 +94,7 @@ class LIBARDOUR_API Track : public Route, public PublicDiskstream
         */
        virtual bool bounceable (boost::shared_ptr<Processor> endpoint, bool include_endpoint) const = 0;
        virtual boost::shared_ptr<Region> bounce (InterThreadInfo&) = 0;
-       virtual boost::shared_ptr<Region> bounce_range (framepos_t start, framepos_t end, InterThreadInfo&, 
+       virtual boost::shared_ptr<Region> bounce_range (framepos_t start, framepos_t end, InterThreadInfo&,
                                                        boost::shared_ptr<Processor> endpoint, bool include_endpoint) = 0;
        virtual int export_stuff (BufferSet& bufs, framepos_t start_frame, framecnt_t nframes,
                                  boost::shared_ptr<Processor> endpoint, bool include_endpoint, bool for_export, bool for_freeze) = 0;
@@ -206,7 +206,8 @@ class LIBARDOUR_API Track : public Route, public PublicDiskstream
        struct RecEnableControl : public AutomationControl {
                RecEnableControl (boost::shared_ptr<Track> t);
 
-               void set_value (double);
+               void set_value (double, PBD::Controllable::GroupControlDisposition);
+               void set_value_unchecked (double);
                double get_value (void) const;
 
                boost::weak_ptr<Track> track;
@@ -221,13 +222,13 @@ class LIBARDOUR_API Track : public Route, public PublicDiskstream
        void maybe_declick (BufferSet&, framecnt_t, int);
 
        boost::shared_ptr<RecEnableControl> _rec_enable_control;
-       
+
        framecnt_t check_initial_delay (framecnt_t nframes, framepos_t&);
 
 private:
 
        virtual boost::shared_ptr<Diskstream> diskstream_factory (XMLNode const &) = 0;
-       
+
        void diskstream_playlist_changed ();
        void diskstream_record_enable_changed ();
        void diskstream_record_safe_changed ();