Refactor update_io_button
authorJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>
Mon, 28 Aug 2017 17:43:28 +0000 (19:43 +0200)
committerJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>
Mon, 28 Aug 2017 17:43:28 +0000 (19:43 +0200)
commit6d0b0099956a97725cc207ed59c84e6fddc239f6
tree84b2e967ed5861b4cc1375495cf6d987ac1b1549
parent50c6a90d248f1cfe74c3cdbccfdc79e3e43a471f
Refactor update_io_button

Check, in order, if the io is connected to another Ardour route, then a
user bundle, then some physical ports with simple configuration, and
lastly another client.

Before, Routes were considered connected as long as every io port
connected to that route, even if the channel order was mixed or worse if
all ports were connected to the same channel. Now Routes and Bundles are
considered connected if they are exclusively connected, in the right
order, to all their ports with matching datatype.
gtk2_ardour/mixer_strip.cc