13
0

FP8: use proper API to detect automation-playback

The custom code didn't take touch + touching into account when
another surface was touching automation.
This commit is contained in:
Robin Gareus 2017-06-13 16:07:20 +02:00
parent fdb3df7786
commit 23554fd185

View File

@ -449,10 +449,10 @@ FP8Strip::periodic_update_fader ()
return;
}
ARDOUR::AutoState state = ac->automation_state();
if (state == Touch || state == Play) {
notify_fader_changed ();
if (!ac->automation_playback ()) {
return;
}
notify_fader_changed ();
}
void