Generalise heuristic for user-intended main type of a route's IO
authorJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>
Mon, 21 Aug 2017 13:41:29 +0000 (15:41 +0200)
committerJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>
Wed, 23 Aug 2017 20:59:38 +0000 (22:59 +0200)
commitce9bdd1db051f624f6d31420cb5ac2dd77c60bee
treebe392b43bccebd1b37c9af7c94ebcf859d3c4db7
parentdb28d652ca64befb27e4d430f9dabb70413d5da5
Generalise heuristic for user-intended main type of a route's IO

The heuristic currently used to display port connections in a
compact user-friendly way only considers Audio and MIDI data types.

Replace it by a better heuristic that does essentially the same thing
with all DataTypes, assuming they are ordered by likeliness of usage.
Currently the result is the same since there are only two DataTypes.
gtk2_ardour/mixer_strip.cc
gtk2_ardour/mixer_strip.h