projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f777d83
)
Assume default plugin bussing is stereo
author
Robin Gareus
<robin@gareus.org>
Mon, 3 Jun 2019 14:28:10 +0000
(16:28 +0200)
committer
Robin 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
patch
|
blob
|
history
diff --git
a/libs/ardour/plugin.cc
b/libs/ardour/plugin.cc
index 726337136aa52e1a8d6d5a49d494c80ac301c0b8..02fb985f1e784d8d0d424a92fcc6fc432d7f70da 100644
(file)
--- a/
libs/ardour/plugin.cc
+++ b/
libs/ardour/plugin.cc
@@
-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;
}