diff options
author | David Robillard <d@drobilla.net> | 2008-09-19 17:24:52 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-09-19 17:24:52 +0000 |
commit | 7aea02083a207402405cc4869b892dd63da191b6 (patch) | |
tree | 96a5bc45a89314cee0c0c52a5feb8e4e95492610 /libs/ardour/automatable.cc | |
parent | 68f04adec110a991e2b2c1657e67a7dc791decc1 (diff) |
Restore visible CC/etc automation tracks on session load.
Fix CC/channel mismatch when creating a new CC track.
Always display CC with 1-based numbering (like channel).
git-svn-id: svn://localhost/ardour2/branches/3.0@3763 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 349c09e136..5595ebc2cf 100644 --- a/libs/ardour/automatable.cc +++ b/libs/ardour/automatable.cc @@ -155,7 +155,7 @@ Automatable::describe_parameter (Parameter param) return (string_compose(_("Pan %1"), param.id() + 1)); } else if (param.type() == MidiCCAutomation) { return string_compose("CC %1 (%2) [%3]", - param.id(), midi_name(param.id()), int(param.channel()) + 1); + 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); } else if (param.type() == MidiPitchBenderAutomation) { |