Better choice for ports on external send creation
authorJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>
Fri, 15 Jul 2016 21:12:52 +0000 (23:12 +0200)
committerRobin Gareus <robin@gareus.org>
Sat, 16 Jul 2016 00:29:58 +0000 (02:29 +0200)
commit786cb746d0ce387a6194555e6757ec64c937690b
treeb2aa54ac8b6eac6fd4e2ddceafaec123c4289b97
parent813b92c85b77e67b75778aaa6727eb58303ada45
Better choice for ports on external send creation

Ardour tried to make an educated guess at the initial number of outputs
for a new send. It used the channel configuration of the master bus, if
it existed, else the channel configuration of the route itself.

That guess is good in most cases, but in the case of a track/bus without
audio channels, creating a send with audio doesn't make sense. In that
case, also use the route outputs as a base for the send configuration.
gtk2_ardour/processor_box.cc