Remove ad-hoc handling of possible_in == 0
authorJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>
Wed, 3 Aug 2016 21:28:09 +0000 (23:28 +0200)
committerJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>
Sat, 6 Aug 2016 17:38:09 +0000 (19:38 +0200)
commit0f64e5ce8473006107841c4b2aa18be9f099d784
treeb9fecf9aa214906dc2d23bc6705cccbb3934c1f7
parent93aa03ee2a54a02ef8df74cdf16539ebba827cf2
Remove ad-hoc handling of possible_in == 0

Just make the code responsible for possible_in > 0 also handle
possible_in == 0 since it nearly does the same thing.

The only difference is that the possible_in == 0 case didn't check at
all for audio_in, essentially acting as if possible_in was audio_in.
There is thus a small POLICY CHANGE, but the selected configuration will
stay the same unless a better matching configuration is available.
libs/ardour/luaproc.cc