summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2018-05-04 18:36:53 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2018-05-04 18:36:53 -0400
commit81bff2edee31ad64693d5be3c06558714ea92722 (patch)
treeb9a3daba275255d82867e5d536db6d08e0110101 /libs
parenta5e8a69dec467cc7d938cc3d92acb218b04486a9 (diff)
fix more cut-n-paste coding errors
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/controllable_descriptor.cc6
1 files 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;