mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 06:35:46 +01:00
use pretty names in port-matrix
maybe this should be an option? So far it’s the matrix only.. gotta start somewhere. PS. No, this is not a new feature. Ardour not doing this is a major bug that severely reduces usability: system:midi_capture_47 WTF? ;-)
This commit is contained in:
parent
8fd67c5a88
commit
1ad42b249b
1 changed files with 6 additions and 1 deletions
|
|
@ -610,7 +610,12 @@ PortGroupList::make_bundle_from_ports (std::vector<std::string> const & p, ARDOU
|
|||
}
|
||||
|
||||
for (uint32_t j = 0; j < p.size(); ++j) {
|
||||
b->add_channel (p[j].substr (pre.length()), type);
|
||||
std::string n = p[j].substr (pre.length());
|
||||
std::string pn = AudioEngine::instance()->get_pretty_name_by_name (p[j]);
|
||||
if (!pn.empty()) {
|
||||
n = pn;
|
||||
}
|
||||
b->add_channel (n, type);
|
||||
b->set_port (j, p[j]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue