static int instantiate (const std::string& arg1, const std::string& arg2);
static int deinstantiate ();
static bool already_configured ();
+static bool available ();
static ARDOUR::AudioBackendInfo _descriptor = {
"JACK",
deinstantiate,
backend_factory,
already_configured,
+ available
};
static boost::shared_ptr<AudioBackend>
return !JackConnection::in_control ();
}
+static bool
+available ()
+{
+ return have_libjack() ? false : true;
+}
+
extern "C" ARDOURBACKEND_API ARDOUR::AudioBackendInfo* descriptor() { return &_descriptor; }