13
0

Update GUI when playing mute-automation

This commit is contained in:
Robin Gareus 2017-02-28 05:00:34 +01:00
parent 5c4a2025f1
commit a9bb1afb27

View File

@ -188,7 +188,9 @@ MuteControl::automation_run (framepos_t start, pframes_t)
if (mute >= 0.5 && !muted()) { if (mute >= 0.5 && !muted()) {
set_value_unchecked (1.0); // mute set_value_unchecked (1.0); // mute
Changed (false, Controllable::NoGroup); /* EMIT SIGNAL */
} else if (mute < 0.5 && muted ()) { } else if (mute < 0.5 && muted ()) {
set_value_unchecked (0.0); // unmute set_value_unchecked (0.0); // unmute
Changed (false, Controllable::NoGroup); /* EMIT SIGNAL */
} }
} }