variation of a PR from ngeiwei that adds MIDI channel info to controller names
This commit is contained in:
parent
7c2f978a68
commit
d42202dfca
@ -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…
Reference in New Issue
Block a user