Assume default plugin bussing is stereo
authorRobin Gareus <robin@gareus.org>
Mon, 3 Jun 2019 14:28:10 +0000 (16:28 +0200)
committerRobin Gareus <robin@gareus.org>
Mon, 3 Jun 2019 14:28:10 +0000 (16:28 +0200)
This changes fan-out to prefer stereo tarcks unless specified otherwise
by a plugin (LV2 port-groups, or AU busses)

libs/ardour/plugin.cc

index 726337136aa52e1a8d6d5a49d494c80ac301c0b8..02fb985f1e784d8d0d424a92fcc6fc432d7f70da 100644 (file)
@@ -292,9 +292,14 @@ Plugin::describe_io_port (ARDOUR::DataType dt, bool input, uint32_t id) const
                ss << _("Out") << " ";
        }
 
+       std::stringstream gn;
+       gn << ss.str();
+
        ss << (id + 1);
+       gn << (id / 2 + 1) << " L/R";
 
        Plugin::IOPortDescription iod (ss.str());
+       iod.group_name = gn.str();
        return iod;
 }