mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-18 20:56:28 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -184,7 +184,7 @@ Automatable::describe_parameter (Evoral::Parameter param)
|
|||
/* ID's are zero-based, present them as 1-based */
|
||||
return (string_compose(_("Pan %1"), param.id() + 1));
|
||||
} 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);
|
||||
} else if (param.type() == MidiPgmChangeAutomation) {
|
||||
return string_compose("Program [%1]", int(param.channel()) + 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue