Browse Source

Update submodules, fix leaks, adjust standalone behaviour

Signed-off-by: falkTX <falktx@falktx.com>
tags/v1.3
falkTX 1 year ago
parent
commit
490286b678
3 changed files with 10 additions and 5 deletions
  1. +1
    -1
      carla
  2. +1
    -1
      dpf
  3. +8
    -3
      plugins/Common/IldaeilUI.cpp

+ 1
- 1
carla

@@ -1 +1 @@
Subproject commit e924e19f25367d5009e0e068b59d9f46794ac41b
Subproject commit aafc99e864782e16fd0596b258396e422a83614c

+ 1
- 1
dpf

@@ -1 +1 @@
Subproject commit eba584917cb566cbbdf626cc8736c3d13b65a2e9
Subproject commit e288f163bbf3af6ae24e9df6cdd23e755ff1aaf5

+ 8
- 3
plugins/Common/IldaeilUI.cpp View File

@@ -93,6 +93,7 @@ class IldaeilUI : public UI,
boolean(false),
bvalue(false),
log(false),
readonly(false),
min(0.0f),
max(1.0f) {}
~Parameter()
@@ -130,6 +131,8 @@ class IldaeilUI : public UI,
std::free(title);
delete[] parameters;
delete[] values;
delete[] presets;
delete[] presetStrings;
}
};

@@ -433,7 +436,7 @@ public:
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);
@@ -449,6 +452,8 @@ public:
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
@@ -1116,7 +1121,7 @@ protected:
{
fIdleState = kIdleHidePluginUI;
fDrawingState = kDrawingPluginList;
#if !ILDAEIL_STANDALONE
#ifndef DISTRHO_OS_WASM
fNextSize = Size<uint>(kInitialWidth * scaleFactor, kInitialHeight * scaleFactor);
#endif
}
@@ -1184,7 +1189,7 @@ protected:
if (supportsMIDI() && !isMIDIEnabled() && ImGui::Button("Enable MIDI"))
requestMIDI();

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


Loading…
Cancel
Save