Set \imprecise when a configuration is chosen
authorJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>
Tue, 2 Aug 2016 11:41:29 +0000 (13:41 +0200)
committerJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>
Sat, 6 Aug 2016 17:38:09 +0000 (19:38 +0200)
commit08f3ef4ecdbd4369c8de844967648ec3b0656919
tree91d45be9004d405bcb1333a51b67b1261544a0e3
parent865ab375d69d57572a9761dbada93f7edf1e4073
Set \imprecise when a configuration is chosen

Instead of setting \imprecise at the end of the loop if a configuration
was found (which clobbered valuable information, see dae2406187), set it
each time a new configuration is chosen.

In the second loop that tries harder, resetting \imprecise also avoids a
previous "imprecise->set(AUDIO, 0)" to last even if another
configuration is chosen later.

Last but not least, it will enable correctly setting the midi input
count hoped for by the configuration.
libs/ardour/luaproc.cc