class LIBARDOUR_API MuteControl : public SlavableAutomationControl
{
- public:
+public:
MuteControl (Session& session, std::string const& name, Muteable&);
double get_value () const;
void set_mute_points (MuteMaster::MutePoint);
MuteMaster::MutePoint mute_points () const;
- void automation_run (framepos_t start, pframes_t nframes);
+ void automation_run (samplepos_t start, pframes_t nframes);
- protected:
- void master_changed (bool, PBD::Controllable::GroupControlDisposition, boost::shared_ptr<AutomationControl>);
+protected:
+ bool handle_master_change (boost::shared_ptr<AutomationControl>);
void actually_set_value (double, PBD::Controllable::GroupControlDisposition group_override);
void pre_remove_master (boost::shared_ptr<AutomationControl>);
void post_add_master (boost::shared_ptr<AutomationControl>);
- private:
+private:
Muteable& _muteable;
};