mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 22:55:44 +01:00
fix mute automation in Play automation state
This commit is contained in:
parent
8d3a8ca913
commit
d4227faaee
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue