Prevent libardour from being initialized more than once
authorTim Mayberry <mojofunk@gmail.com>
Thu, 25 Jul 2013 11:38:59 +0000 (21:38 +1000)
committerTim Mayberry <mojofunk@gmail.com>
Tue, 13 Aug 2013 10:15:47 +0000 (20:15 +1000)
commit9d340af10da0bdb4e20681918dac6dde987c8e5e
tree746269f28ddc480c567da7ff98c8712da967389f
parentd51eba1162c072760a38d00bb39ee21749d87abb
Prevent libardour from being initialized more than once

This is not thread safe of course, it is not intended to be.

This was implemented as at one stage ARDOUR::init was being called multiple
times in the testsuite which was causing a subtle bug that took some
time to track down.
libs/ardour/globals.cc