Assume default plugin bussing is stereo

This changes fan-out to prefer stereo tarcks unless specified otherwise
by a plugin (LV2 port-groups, or AU busses)
This commit is contained in:
Robin Gareus 2019-06-03 16:28:10 +02:00
parent f777d8389d
commit dba3ff5236
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View 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;
}