Browse Source

Fix strict build

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.4.2
falkTX 3 years ago
parent
commit
4f13afd48a
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 6 additions and 1 deletions
  1. +2
    -1
      source/backend/plugin/CarlaPluginBridge.cpp
  2. +4
    -0
      source/libjack/libjack.cpp

+ 2
- 1
source/backend/plugin/CarlaPluginBridge.cpp View File

@@ -2573,7 +2573,8 @@ public:
case kPluginBridgeNonRtServerResizeEmbedUI: {
const uint width = fShmNonRtServerControl.readUInt();
const uint height = fShmNonRtServerControl.readUInt();
pData->engine->callback(true, true, ENGINE_CALLBACK_EMBED_UI_RESIZED, pData->id, width, height,
pData->engine->callback(true, true, ENGINE_CALLBACK_EMBED_UI_RESIZED, pData->id,
static_cast<int>(width), static_cast<int>(height),
0, 0.0f, nullptr);
} break;



+ 4
- 0
source/libjack/libjack.cpp View File

@@ -1275,6 +1275,10 @@ bool CarlaJackAppClient::handleNonRtData()
case kPluginBridgeNonRtClientUiNoteOff:
break;

case kPluginBridgeNonRtClientEmbedUI:
fShmNonRtClientControl.readULong();
break;

case kPluginBridgeNonRtClientQuit:
ret = true;
break;


Loading…
Cancel
Save