Browse Source

Do not allow to run carla-bridge if bridge is not ok (wine)

tags/1.9.6
falkTX 9 years ago
parent
commit
e7bc34d413
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      source/bridges-plugin/CarlaBridgePlugin.cpp

+ 10
- 0
source/bridges-plugin/CarlaBridgePlugin.cpp View File

@@ -25,6 +25,7 @@
# include <signal.h>
#endif

#include "jackbridge/JackBridge.hpp"
#include "juce_core.h"

#if defined(CARLA_OS_MAC) || defined(CARLA_OS_WIN)
@@ -295,6 +296,15 @@ int main(int argc, char* argv[])
return 1;
}

// ---------------------------------------------------------------------
// Test if bridge is working

if (! jackbridge_is_ok())
{
carla_stderr("A JACK or Wine library is missing, cannot continue");
return 1;
}

// ---------------------------------------------------------------------
// Get args



Loading…
Cancel
Save