13
0

Number CC automation tracks from 0 rather than 1 (#3814)

git-svn-id: svn://localhost/ardour2/branches/3.0@9032 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-03-02 14:14:46 +00:00
parent 5fb296cd6b
commit 6b4622a3f0

View File

@ -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) {