summaryrefslogtreecommitdiff
path: root/libs/ardour/phase_control.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-10-14 11:42:35 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-10-14 11:42:41 -0400
commit9066dd731b7a4df67562bb581d15ac318673e6ab (patch)
tree73ebc555a2e76ab2492c26bc4fb09b310b7584c1 /libs/ardour/phase_control.cc
parent92f1eb6be9df2ad0194872ea40c776b6c1983d08 (diff)
much simpler implementation of fix originally in c104c9d4726f3: don't call Session::set_dirty() or emit Changed() unless AutomationControl actually changes value
Diffstat (limited to 'libs/ardour/phase_control.cc')
-rw-r--r--libs/ardour/phase_control.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/libs/ardour/phase_control.cc b/libs/ardour/phase_control.cc
index 9757c104b9..04dd3ce361 100644
--- a/libs/ardour/phase_control.cc
+++ b/libs/ardour/phase_control.cc
@@ -49,7 +49,6 @@ PhaseControl::set_phase_invert (uint32_t c, bool yn)
if (_phase_invert[c] != yn) {
_phase_invert[c] = yn;
AutomationControl::actually_set_value (_phase_invert.to_ulong(), Controllable::NoGroup);
- _session.set_dirty ();
}
}
@@ -59,8 +58,6 @@ PhaseControl::set_phase_invert (boost::dynamic_bitset<> p)
if (_phase_invert != p) {
_phase_invert = p;
AutomationControl::actually_set_value (_phase_invert.to_ulong(), Controllable::NoGroup);
- Changed (true, Controllable::NoGroup); /* EMIT SIGNAL */
- _session.set_dirty ();
}
}