Browse Source

Set error message when trying to start JACK driver without JACK

Signed-off-by: falkTX <falktx@falktx.com>
fix-audiofile-buffering
falkTX 1 year ago
parent
commit
8e5a8f5cd2
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      source/backend/engine/CarlaEngineJack.cpp

+ 6
- 1
source/backend/engine/CarlaEngineJack.cpp View File

@@ -1430,9 +1430,14 @@ public:
bool init(const char* const clientName) override
{
CARLA_SAFE_ASSERT_RETURN(fClient != nullptr || (clientName != nullptr && clientName[0] != '\0'), false);
CARLA_SAFE_ASSERT_RETURN(jackbridge_is_ok(), false);
carla_debug("CarlaEngineJack::init(\"%s\")", clientName);

if (!jackbridge_is_ok())
{
setLastError("JACK is not available or installed");
return false;
}

fFreewheel = false;
fExternalPatchbayHost = true;
fExternalPatchbayOsc = true;


Loading…
Cancel
Save