Signed-off-by: falkTX <falktx@falktx.com>tags/v2.5.0
@@ -366,6 +366,7 @@ HAVE_PYQT = false | |||||
HAVE_QT4 = false | HAVE_QT4 = false | ||||
HAVE_QT5 = false | HAVE_QT5 = false | ||||
HAVE_QT5PKG = false | HAVE_QT5PKG = false | ||||
HAVE_SDL = false | |||||
USING_JUCE = false | USING_JUCE = false | ||||
USING_JUCE_AUDIO_DEVICES = false | USING_JUCE_AUDIO_DEVICES = false | ||||
USING_RTAUDIO = false | USING_RTAUDIO = false | ||||
@@ -83,6 +83,9 @@ endif | |||||
ifeq ($(DEBUG),true) | ifeq ($(DEBUG),true) | ||||
BASE_FLAGS += -DDEBUG -O0 -g | BASE_FLAGS += -DDEBUG -O0 -g | ||||
LINK_OPTS = | LINK_OPTS = | ||||
ifeq ($(WASM),true) | |||||
LINK_OPTS += -sASSERTIONS=1 | |||||
endif | |||||
else | else | ||||
BASE_FLAGS += -DNDEBUG $(BASE_OPTS) -fvisibility=hidden | BASE_FLAGS += -DNDEBUG $(BASE_OPTS) -fvisibility=hidden | ||||
CXXFLAGS += -fvisibility-inlines-hidden | CXXFLAGS += -fvisibility-inlines-hidden | ||||
@@ -308,13 +308,15 @@ public: | |||||
{ | { | ||||
fParameters[rindex] = valuef; | fParameters[rindex] = valuef; | ||||
if (fUsesEmbed | |||||
#ifndef CARLA_ENGINE_WITHOUT_UI | #ifndef CARLA_ENGINE_WITHOUT_UI | ||||
if (fUsesEmbed || fUiServer.isPipeRunning()) | |||||
|| fUiServer.isPipeRunning() | |||||
#endif | |||||
) | |||||
{ | { | ||||
pHost->ui_parameter_changed(pHost->handle, rindex, valuef); | pHost->ui_parameter_changed(pHost->handle, rindex, valuef); | ||||
} | } | ||||
else | else | ||||
#endif | |||||
{ | { | ||||
static uint last_pluginId = pluginId; | static uint last_pluginId = pluginId; | ||||
static int last_value1 = value1; | static int last_value1 = value1; | ||||
@@ -333,6 +335,11 @@ public: | |||||
} | } | ||||
break; | break; | ||||
case ENGINE_CALLBACK_UI_STATE_CHANGED: | |||||
if (sendHost && fUsesEmbed) | |||||
pHost->ui_closed(pHost->handle); | |||||
break; | |||||
default: | default: | ||||
break; | break; | ||||
} | } | ||||