projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdb3df7
)
FP8: use proper API to detect automation-playback
author
Robin Gareus
<robin@gareus.org>
Tue, 13 Jun 2017 14:07:20 +0000
(16:07 +0200)
committer
Robin Gareus
<robin@gareus.org>
Tue, 13 Jun 2017 16:09:53 +0000
(18:09 +0200)
The custom code didn't take touch + touching into account when
another surface was touching automation.
libs/surfaces/faderport8/fp8_strip.cc
patch
|
blob
|
history
diff --git
a/libs/surfaces/faderport8/fp8_strip.cc
b/libs/surfaces/faderport8/fp8_strip.cc
index 21c8affafbca68a2a732ed4b6e4a083376db2c39..d9d3fd7ba8038cafce857928784b0465c4e961a0 100644
(file)
--- a/
libs/surfaces/faderport8/fp8_strip.cc
+++ b/
libs/surfaces/faderport8/fp8_strip.cc
@@
-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