From 6f58669c08c39d9e518e12afec2c22e533f11143 Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 13 Jul 2020 13:37:02 +0100 Subject: [PATCH] Fix internal client build Signed-off-by: falkTX --- source/backend/engine/CarlaEngineJack.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/backend/engine/CarlaEngineJack.cpp b/source/backend/engine/CarlaEngineJack.cpp index 121360664..2af12d2e8 100644 --- a/source/backend/engine/CarlaEngineJack.cpp +++ b/source/backend/engine/CarlaEngineJack.cpp @@ -53,6 +53,10 @@ // must be last #include "jackbridge/JackBridge.hpp" +#ifdef JACKBRIDGE_DIRECT +# define JackPortIsControlVoltage 0x100 +#endif + #define URI_CANVAS_ICON "http://kxstudio.sf.net/ns/canvas/icon" #define URI_MAIN_CLIENT_NAME "https://kx.studio/ns/carla/main-client-name" @@ -4524,7 +4528,7 @@ CARLA_BACKEND_END_NAMESPACE // internal jack client CARLA_EXPORT -int jack_initialize (jack_client_t *client, const char *load_init); +int jack_initialize(jack_client_t *client, const char *load_init); CARLA_EXPORT void jack_finish(void *arg);