fix mute automation in Play automation state
This commit is contained in:
parent
8d3a8ca913
commit
d4227faaee
@ -374,9 +374,9 @@ AudioTrack::roll (pframes_t nframes, framepos_t start_frame, framepos_t end_fram
|
||||
bool valid = false;
|
||||
const float mute = _mute_control->list()->rt_safe_eval(transport_frame, valid);
|
||||
if (mute >= 0.5 && !muted()) {
|
||||
_mute_control->set_value(1.0); // mute
|
||||
_mute_control->set_value_unchecked(1.0); // mute
|
||||
} else if (mute < 0.5 && muted()) {
|
||||
_mute_control->set_value(0.0); // unmute
|
||||
_mute_control->set_value_unchecked(0.0); // unmute
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user