13
0

variation of a PR from ngeiwei that adds MIDI channel info to controller names

This commit is contained in:
Paul Davis 2017-01-05 09:56:45 +00:00
parent 7c2f978a68
commit d42202dfca

View File

@ -153,7 +153,7 @@ InstrumentInfo::get_controller_name (Evoral::Parameter param) const
boost::shared_ptr<const Control> c = control_names->control(param.id());
if (c) {
return c->name();
return string_compose(c->name() + " [%1]", int(param.channel()) + 1);
}
return "";