DPF

DISTRHO Plugin Framework
Log | Files | Refs | Submodules | README | LICENSE

commit 5d7fd17f6a634ccd648a264743319c145928a27c
parent 923664009361100bba378c6cfb94d68e39575476
Author: falkTX <falktx@falktx.com>
Date:   Sun,  9 Jan 2022 03:23:43 +0000

Fix UI::getBundlePath() for VST3

Signed-off-by: falkTX <falktx@falktx.com>

Diffstat:
Mdistrho/src/DistrhoUIVST3.cpp | 9+++++++--
1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/distrho/src/DistrhoUIVST3.cpp b/distrho/src/DistrhoUIVST3.cpp @@ -1,6 +1,6 @@ /* * 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 * or without fee is hereby granted, provided that the above copyright notice and this @@ -48,6 +48,11 @@ static constexpr const setStateFunc setStateCallback = nullptr; #endif // -------------------------------------------------------------------------------------------------------------------- +// Static data, see DistrhoPlugin.cpp + +extern const char* d_nextBundlePath; + +// -------------------------------------------------------------------------------------------------------------------- // Utility functions (defined on plugin side) const char* tuid2str(const v3_tuid iid); @@ -129,7 +134,7 @@ public: sendNoteCallback, setSizeCallback, nullptr, // TODO file request - nullptr, // bundlePath + d_nextBundlePath, instancePointer, scaleFactor) {