Show MIDI controller numbers in automation track titles, as per part of #3175.
git-svn-id: svn://localhost/ardour2/branches/3.0@7437 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
3d7487c9be
commit
f84f270b15
@ -184,7 +184,7 @@ Automatable::describe_parameter (Evoral::Parameter param)
|
|||||||
/* ID's are zero-based, present them as 1-based */
|
/* ID's are zero-based, present them as 1-based */
|
||||||
return (string_compose(_("Pan %1"), param.id() + 1));
|
return (string_compose(_("Pan %1"), param.id() + 1));
|
||||||
} else if (param.type() == MidiCCAutomation) {
|
} else if (param.type() == MidiCCAutomation) {
|
||||||
return string_compose("%2 [%3]",
|
return string_compose("%1: %2 [%3]",
|
||||||
param.id() + 1, midi_name(param.id()), int(param.channel()) + 1);
|
param.id() + 1, midi_name(param.id()), int(param.channel()) + 1);
|
||||||
} else if (param.type() == MidiPgmChangeAutomation) {
|
} else if (param.type() == MidiPgmChangeAutomation) {
|
||||||
return string_compose("Program [%1]", int(param.channel()) + 1);
|
return string_compose("Program [%1]", int(param.channel()) + 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user