From 81bff2edee31ad64693d5be3c06558714ea92722 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 4 May 2018 18:36:53 -0400 Subject: [PATCH] fix more cut-n-paste coding errors --- libs/ardour/controllable_descriptor.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/ardour/controllable_descriptor.cc b/libs/ardour/controllable_descriptor.cc index 8bc749041f..b55b0b3c4c 100644 --- a/libs/ardour/controllable_descriptor.cc +++ b/libs/ardour/controllable_descriptor.cc @@ -177,11 +177,11 @@ ControllableDescriptor::set (const std::string& str) _subtype = SendLevelAutomation; _target.push_back (atoi (rest[1])); - } else if (path[2] == "gain") { - _subtype = SendLevelAutomation; + } else if (path[2] == "direction") { + _subtype = SendAzimuthAutomation; _target.push_back (atoi (rest[1])); } else if (path[2] == "enable") { - _subtype = SendLevelAutomation; + _subtype = SendEnableAutomation; _target.push_back (atoi (rest[1])); } else { return -1; -- 2.30.2