Clarify MIDI CC menu ambiguity
authorRobin Gareus <robin@gareus.org>
Tue, 4 Jun 2019 21:51:50 +0000 (23:51 +0200)
committerRobin Gareus <robin@gareus.org>
Tue, 4 Jun 2019 21:51:50 +0000 (23:51 +0200)
commit9398df415d191940d75cf166a898df73a2d695e3
tree7df3de59bc67a62dfd083a25ad3f01f2ab2befb6
parent34b671911c875ab98bc7681c3f3e1270114522f2
Clarify MIDI CC menu ambiguity

CCs use 0-based counting, however CC 0 and 32 (bank select) are skipped
in Ardour's CC menu. This lead to some misleading enumeration.

Now, group CCs by 32, skip sub-menu if there are fewer than 32 named
items, and otherwise actual CC min/max numbers per named list.
gtk2_ardour/midi_time_axis.cc