X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fpbd%2Fcontrollable_descriptor.cc;h=392b917ec888d514e4e9cfb85bd19851437702ac;hb=84bb14efdc07b5c6a18f02aa61d46bbf76c4a077;hp=2f84d706b42cb5cb168baff4615fdec3ec16184a;hpb=6c717a56e28ebc67bcf041a1ee9887d46700a0e7;p=ardour.git diff --git a/libs/pbd/controllable_descriptor.cc b/libs/pbd/controllable_descriptor.cc index 2f84d706b4..392b917ec8 100644 --- a/libs/pbd/controllable_descriptor.cc +++ b/libs/pbd/controllable_descriptor.cc @@ -49,18 +49,6 @@ ControllableDescriptor::set (const std::string& str) return -1; } - cerr << "Path: " << endl; - for (vector::iterator x = path.begin(); x != path.end(); ++x) { - cerr << '[' << (*x) << "] "; - } - cerr << endl; - - cerr << "Rest: " << endl; - for (vector::iterator x = rest.begin(); x != rest.end(); ++x) { - cerr << '[' << (*x) << "] "; - } - cerr << endl; - if (path[0] == "route" || path[0] == "rid") { _top_level_type = RemoteControlID; @@ -96,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) {