mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
fix deadlock when assigning a VCA master
This commit is contained in:
parent
c12fa9c3cb
commit
78823e3aa9
1 changed files with 1 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ SlavableAutomationControl::add_master (boost::shared_ptr<AutomationControl> m, b
|
||||||
const double master_value = m->get_value();
|
const double master_value = m->get_value();
|
||||||
|
|
||||||
if (master_value == 0.0) {
|
if (master_value == 0.0) {
|
||||||
actually_set_value (0.0, Controllable::NoGroup);
|
AutomationControl::set_double (0.0, Controllable::NoGroup);
|
||||||
} else {
|
} else {
|
||||||
/* scale control's own value by
|
/* scale control's own value by
|
||||||
amount that the master will
|
amount that the master will
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue