mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
variation of a PR from ngeiwei that adds MIDI channel info to controller names
This commit is contained in:
parent
7c2f978a68
commit
d42202dfca
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ InstrumentInfo::get_controller_name (Evoral::Parameter param) const
|
||||||
boost::shared_ptr<const Control> c = control_names->control(param.id());
|
boost::shared_ptr<const Control> c = control_names->control(param.id());
|
||||||
|
|
||||||
if (c) {
|
if (c) {
|
||||||
return c->name();
|
return string_compose(c->name() + " [%1]", int(param.channel()) + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
return "";
|
return "";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue