Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update submodules, fix leaks, adjust standalone behaviour
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Jun 4, 2023
1 parent 0f6f75f commit 490286b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion carla
Submodule carla updated 57 files
+124 −0 .github/workflows/cmake.yml
+166 −0 .github/workflows/release.yml
+30 −5 Makefile
+5 −0 cmake/.cmake-format.json
+4 −0 cmake/.gitignore
+1,028 −0 cmake/CMakeLists.txt
+8 −0 cmake/README.md
+9 −0 cmake/carla-utils.pc.in
+3 −3 source/backend/CarlaStandalone.cpp
+0 −18 source/backend/CarlaStandalone.mm
+3 −3 source/backend/engine/CarlaEngine.cpp
+4 −25 source/backend/engine/CarlaEngineDummy.cpp
+7 −3 source/backend/engine/CarlaEngineGraph.cpp
+2 −1 source/backend/engine/CarlaEngineGraph.hpp
+3 −1 source/backend/engine/CarlaEngineInternal.hpp
+6 −10 source/backend/engine/CarlaEngineJuce.cpp
+17 −13 source/backend/engine/CarlaEngineNative.cpp
+0 −18 source/backend/plugin/CarlaPluginCLAP.mm
+9 −8 source/backend/plugin/CarlaPluginJSFX.cpp
+8 −7 source/backend/plugin/CarlaPluginSFZero.cpp
+0 −18 source/backend/plugin/CarlaPluginVST2.mm
+0 −18 source/backend/plugin/CarlaPluginVST3.mm
+1 −10 source/backend/utils/CachedPlugins.cpp
+11 −1 source/backend/utils/CarlaUtils.cpp
+1 −5 source/backend/utils/Information.cpp
+7 −9 source/backend/utils/Makefile
+0 −18 source/bridges-plugin/CarlaBridgePlugin.mm
+21 −49 source/bridges-plugin/Makefile
+7 −0 source/discovery/Makefile
+0 −18 source/discovery/carla-discovery.mm
+313 −347 source/frontend/pluginlist/pluginlistdialog.cpp
+1 −0 source/frontend/pluginlist/pluginlistdialog.hpp
+9 −1 source/modules/audio_decoder/ad.h
+5 −2 source/modules/audio_decoder/ad_dr_mp3.c
+15 −13 source/modules/audio_decoder/ad_ffmpeg.c
+6 −2 source/modules/audio_decoder/ad_minimp3.c
+2 −1 source/modules/audio_decoder/ad_plugin.c
+3 −1 source/modules/audio_decoder/ad_plugin.h
+8 −4 source/modules/audio_decoder/ad_soundfile.c
+6 −28 source/modules/water/Makefile
+0 −19 source/modules/water/water.files.mm
+0 −19 source/modules/water/water.mm
+0 −76 source/modules/water/water.obs.cpp
+0 −19 source/modules/water/water.obs.mm
+3 −1 source/modules/ysfx/Makefile
+1 −1 source/native-plugins/audio-gain.c
+11 −7 source/utils/CarlaBinaryUtils.hpp
+4 −4 source/utils/CarlaBridgeUtils.hpp
+32 −20 source/utils/CarlaLogThread.hpp
+5 −5 source/utils/CarlaLv2Utils.hpp
+4 −4 source/utils/CarlaMacUtils.hpp
+0 −18 source/utils/CarlaMacUtils.mm
+4 −0 source/utils/CarlaMainLoop.hpp
+3 −3 source/utils/CarlaMutex.hpp
+1 −1 source/utils/CarlaPipeUtils.cpp
+1 −1 source/utils/CarlaPipeUtils.hpp
+1 −1 source/utils/CarlaString.hpp
2 changes: 1 addition & 1 deletion dpf
11 changes: 8 additions & 3 deletions plugins/Common/IldaeilUI.cpp
Expand Up @@ -93,6 +93,7 @@ class IldaeilUI : public UI,
boolean(false),
bvalue(false),
log(false),
readonly(false),
min(0.0f),
max(1.0f) {}
~Parameter()
Expand Down Expand Up @@ -130,6 +131,8 @@ class IldaeilUI : public UI,
std::free(title);
delete[] parameters;
delete[] values;
delete[] presets;
delete[] presetStrings;
}
};

Expand Down Expand Up @@ -433,7 +436,7 @@ class IldaeilUI : public UI,
else
updatePluginGenericUI(handle);

#if !ILDAEIL_STANDALONE
#ifndef DISTRHO_OS_WASM
const double scaleFactor = getScaleFactor();
fNextSize = Size<uint>(kGenericWidth * scaleFactor,
(kGenericHeight + ImGui::GetStyle().WindowPadding.y) * scaleFactor);
Expand All @@ -449,6 +452,8 @@ class IldaeilUI : public UI,
title += info->maker;
ui->title = title.getAndReleaseBuffer();

fPluginHasOutputParameters = false;

const uint32_t parameterCount = ui->parameterCount = carla_get_parameter_count(handle, fPluginId);

// make count of valid parameters
Expand Down Expand Up @@ -1116,7 +1121,7 @@ class IldaeilUI : public UI,
{
fIdleState = kIdleHidePluginUI;
fDrawingState = kDrawingPluginList;
#if !ILDAEIL_STANDALONE
#ifndef DISTRHO_OS_WASM
fNextSize = Size<uint>(kInitialWidth * scaleFactor, kInitialHeight * scaleFactor);
#endif
}
Expand Down Expand Up @@ -1184,7 +1189,7 @@ class IldaeilUI : public UI,
if (supportsMIDI() && !isMIDIEnabled() && ImGui::Button("Enable MIDI"))
requestMIDI();

if (supportsBufferSizeChanges())
if (fDrawingState != kDrawingPluginEmbedUI && supportsBufferSizeChanges())
{
ImGui::SameLine();
ImGui::Spacing();
Expand Down

0 comments on commit 490286b

Please sign in to comment.