summaryrefslogtreecommitdiff
path: root/libs/pbd
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-11-28 21:28:54 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-11-28 21:28:54 +0000
commitc7df5f5271be9652ab4bac25a1f8dcb4e4373ba4 (patch)
tree42ad73e522e72db48b0cc76cc80c16c48001a37c /libs/pbd
parentad4e0cd2d1ae55fc2c459486c8e048a15cfa50f0 (diff)
add non-functional meta-controls for 2in/2out panning, to control direction+width. support exists in OSC and MIDI maps. no GUI elements yet
git-svn-id: svn://localhost/ardour2/branches/3.0@8121 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd')
-rw-r--r--libs/pbd/controllable_descriptor.cc8
-rw-r--r--libs/pbd/pbd/controllable_descriptor.h3
2 files changed, 7 insertions, 4 deletions
diff --git a/libs/pbd/controllable_descriptor.cc b/libs/pbd/controllable_descriptor.cc
index 86f96bb50c..392b917ec8 100644
--- a/libs/pbd/controllable_descriptor.cc
+++ b/libs/pbd/controllable_descriptor.cc
@@ -84,9 +84,11 @@ ControllableDescriptor::set (const std::string& str)
} else if (path[1] == "balance") {
_subtype = Balance;
- } else if (path[1] == "pan") {
- _subtype = Pan;
- _target.push_back (atoi (rest[1]));
+ } else if (path[1] == "panwidth") {
+ _subtype = PanWidth;
+
+ } else if (path[1] == "pandirection") {
+ _subtype = PanDirection;
} else if (path[1] == "plugin") {
if (path.size() == 3 && rest.size() == 3) {
diff --git a/libs/pbd/pbd/controllable_descriptor.h b/libs/pbd/pbd/controllable_descriptor.h
index 164cac259d..1bf7705595 100644
--- a/libs/pbd/pbd/controllable_descriptor.h
+++ b/libs/pbd/pbd/controllable_descriptor.h
@@ -37,7 +37,8 @@ public:
Solo,
Mute,
Recenable,
- Pan,
+ PanDirection,
+ PanWidth,
Balance,
SendGain,
PluginParameter