projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fb296c
)
Number CC automation tracks from 0 rather than 1 (#3814)
author
Carl Hetherington
<carl@carlh.net>
Wed, 2 Mar 2011 14:14:46 +0000
(14:14 +0000)
committer
Carl Hetherington
<carl@carlh.net>
Wed, 2 Mar 2011 14:14:46 +0000
(14:14 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@9032
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/ardour/automatable.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/automatable.cc
b/libs/ardour/automatable.cc
index 20dc910f61d2af439e6bc8c2e693e8b6117d4dae..100e7ddb3cc89ae7e0feb4b314791a831dbea6af 100644
(file)
--- a/
libs/ardour/automatable.cc
+++ b/
libs/ardour/automatable.cc
@@
-187,7
+187,7
@@
Automatable::describe_parameter (Evoral::Parameter param)
return _("Fader");
} else if (param.type() == MidiCCAutomation) {
return string_compose("%1: %2 [%3]",
- param.id()
+ 1
, midi_name(param.id()), int(param.channel()) + 1);
+ param.id(), 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) {