diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-11-28 21:28:54 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-11-28 21:28:54 +0000 |
commit | c7df5f5271be9652ab4bac25a1f8dcb4e4373ba4 (patch) | |
tree | 42ad73e522e72db48b0cc76cc80c16c48001a37c /libs/pbd/controllable_descriptor.cc | |
parent | ad4e0cd2d1ae55fc2c459486c8e048a15cfa50f0 (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/controllable_descriptor.cc')
-rw-r--r-- | libs/pbd/controllable_descriptor.cc | 8 |
1 files changed, 5 insertions, 3 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) { |