Browse Source

Fix UI::getBundlePath() for VST3

Signed-off-by: falkTX <falktx@falktx.com>
pull/365/head
falkTX 3 years ago
parent
commit
5d7fd17f6a
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      distrho/src/DistrhoUIVST3.cpp

+ 7
- 2
distrho/src/DistrhoUIVST3.cpp View File

@@ -1,6 +1,6 @@
/* /*
* DISTRHO Plugin Framework (DPF) * DISTRHO Plugin Framework (DPF)
* Copyright (C) 2012-2021 Filipe Coelho <falktx@falktx.com>
* Copyright (C) 2012-2022 Filipe Coelho <falktx@falktx.com>
* *
* Permission to use, copy, modify, and/or distribute this software for any purpose with * Permission to use, copy, modify, and/or distribute this software for any purpose with
* or without fee is hereby granted, provided that the above copyright notice and this * or without fee is hereby granted, provided that the above copyright notice and this
@@ -47,6 +47,11 @@ static constexpr const sendNoteFunc sendNoteCallback = nullptr;
static constexpr const setStateFunc setStateCallback = nullptr; static constexpr const setStateFunc setStateCallback = nullptr;
#endif #endif


// --------------------------------------------------------------------------------------------------------------------
// Static data, see DistrhoPlugin.cpp

extern const char* d_nextBundlePath;

// -------------------------------------------------------------------------------------------------------------------- // --------------------------------------------------------------------------------------------------------------------
// Utility functions (defined on plugin side) // Utility functions (defined on plugin side)


@@ -129,7 +134,7 @@ public:
sendNoteCallback, sendNoteCallback,
setSizeCallback, setSizeCallback,
nullptr, // TODO file request nullptr, // TODO file request
nullptr, // bundlePath
d_nextBundlePath,
instancePointer, instancePointer,
scaleFactor) scaleFactor)
{ {


Loading…
Cancel
Save