summaryrefslogtreecommitdiff
path: root/libs/ardour/pannable.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-12-08 23:52:48 +0100
committerRobin Gareus <robin@gareus.org>2019-12-08 23:52:48 +0100
commitd0dcca1093c5553dc13af4180e1b7e62aa1df689 (patch)
tree7c796fe8cc50d7526ade69fbcd1aa4f933296454 /libs/ardour/pannable.cc
parent79ad931f24d1c344f7b6e6ae3c8a6f9304247656 (diff)
Fix Pan automation when using "Touch"
Pan->touching was left uninitialized, and usually non-zero. So pan automation was assumed to be currently touched, and hence never interpolated.
Diffstat (limited to 'libs/ardour/pannable.cc')
-rw-r--r--libs/ardour/pannable.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/pannable.cc b/libs/ardour/pannable.cc
index 3b26b26381..b750b0bc01 100644
--- a/libs/ardour/pannable.cc
+++ b/libs/ardour/pannable.cc
@@ -48,6 +48,7 @@ Pannable::Pannable (Session& s)
, pan_frontback_control (new PanControllable (s, "", this, PanFrontBackAutomation))
, pan_lfe_control (new PanControllable (s, "", this, PanLFEAutomation))
, _auto_state (Off)
+ , _touching (0)
, _has_state (false)
, _responding_to_control_auto_state_change (0)
{