From c104c9d4726f3ba1ecd352d13b88a57f2f964510 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 12 Oct 2016 17:26:46 -0400 Subject: change return type of AutomationControl::actually_set_value() from void to bool, to indicate if value was changed. Don't call Session::set_dirty() when no change occurs --- libs/ardour/ardour/phase_control.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/ardour/phase_control.h') diff --git a/libs/ardour/ardour/phase_control.h b/libs/ardour/ardour/phase_control.h index 0693c8ee50..489673db2d 100644 --- a/libs/ardour/ardour/phase_control.h +++ b/libs/ardour/ardour/phase_control.h @@ -60,7 +60,7 @@ class LIBARDOUR_API PhaseControl : public AutomationControl XMLNode& get_state (); protected: - void actually_set_value (double, PBD::Controllable::GroupControlDisposition group_override); + bool actually_set_value (double, PBD::Controllable::GroupControlDisposition group_override); private: boost::dynamic_bitset<> _phase_invert; -- cgit v1.2.3