diff options
author | Carl Hetherington <carl@carlh.net> | 2010-07-17 00:56:41 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-07-17 00:56:41 +0000 |
commit | f84f270b1542bc3e2ff11a4b78bb6d59b8786b75 (patch) | |
tree | b773c0357ab84b05d48270739a004ee1b5a82ab0 /libs/ardour/automatable.cc | |
parent | 3d7487c9be7dbbe14dc44795f0d8cc2694cdbbb3 (diff) |
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
Diffstat (limited to 'libs/ardour/automatable.cc')
-rw-r--r-- | libs/ardour/automatable.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/automatable.cc b/libs/ardour/automatable.cc index 40b6eb2a07..be3701fc93 100644 --- a/libs/ardour/automatable.cc +++ b/libs/ardour/automatable.cc @@ -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); |