diff --git a/carla b/carla index 7a9b7ba..08af009 160000 --- a/carla +++ b/carla @@ -1 +1 @@ -Subproject commit 7a9b7ba35e261f519b4ab38b7f506e2745998e90 +Subproject commit 08af009062d1e542162e7f071f7f667a721235a5 diff --git a/dpf b/dpf index f1e157a..56cbf3b 160000 --- a/dpf +++ b/dpf @@ -1 +1 @@ -Subproject commit f1e157a03c40637c9055ddf82e7b0543b386c48a +Subproject commit 56cbf3b3ca3ab5ec7677d30978cf796a41302789 diff --git a/dpf-widgets b/dpf-widgets index 0253c44..dc083c0 160000 --- a/dpf-widgets +++ b/dpf-widgets @@ -1 +1 @@ -Subproject commit 0253c44ac9345f5b93cfa303f03a02b44fe65901 +Subproject commit dc083c0f09dbba4864a1da6f6dde21e4e3f0762c diff --git a/plugins/Common/IldaeilPlugin.cpp b/plugins/Common/IldaeilPlugin.cpp index 2ff4e3d..df9d5dc 100644 --- a/plugins/Common/IldaeilPlugin.cpp +++ b/plugins/Common/IldaeilPlugin.cpp @@ -56,6 +56,8 @@ const char* IldaeilBasePlugin::getPathForJSFX() #if defined(CARLA_OS_MAC) path = water::File::getSpecialLocation(water::File::userHomeDirectory).getFullPathName() + "/Library/Application Support/REAPER/Effects"; + if (! water::File(path).isDirectory()) + path = "/Applications/REAPER.app/Contents/InstallFiles/Effects"; #elif defined(CARLA_OS_WASM) path = "/jsfx"; #elif defined(CARLA_OS_WIN) @@ -82,7 +84,6 @@ class IldaeilPlugin : public IldaeilBasePlugin #if DISTRHO_PLUGIN_WANT_MIDI_INPUT static constexpr const uint kMaxMidiEventCount = 512; NativeMidiEvent* fMidiEvents; - uint32_t fMidiEventCount; float* fDummyBuffer; float* fDummyBuffers[2]; #endif @@ -96,7 +97,6 @@ public: : IldaeilBasePlugin(), #if DISTRHO_PLUGIN_WANT_MIDI_INPUT fMidiEvents(nullptr), - fMidiEventCount(0), fDummyBuffer(nullptr), #endif fLastLatencyValue(0) @@ -249,10 +249,6 @@ protected: /* -------------------------------------------------------------------------------------------------------- * Information */ - /** - Get the plugin label. - A plugin label follows the same rules as Parameter::symbol, with the exception that it can start with numbers. - */ const char* getLabel() const override { #if DISTRHO_PLUGIN_IS_SYNTH @@ -264,51 +260,31 @@ protected: #endif } - /** - Get an extensive comment/description about the plugin. - */ const char* getDescription() const override { return "Ildaeil is a mini-plugin host working as a plugin, allowing one-to-one plugin format reusage."; } - /** - Get the plugin author/maker. - */ const char* getMaker() const override { return "DISTRHO"; } - /** - Get the plugin homepage. - */ const char* getHomePage() const override { return "https://github.com/DISTRHO/Ildaeil"; } - /** - Get the plugin license name (a single line of text). - For commercial plugins this should return some short copyright information. - */ const char* getLicense() const override { return "GPLv2+"; } - /** - Get the plugin version, in hexadecimal. - */ uint32_t getVersion() const override { - return d_version(1, 0, 0); + return d_version(1, 1, 0); } - /** - Get the plugin unique Id. - This value is used by LADSPA, DSSI and VST plugin formats. - */ int64_t getUniqueId() const override { #if DISTRHO_PLUGIN_IS_SYNTH @@ -323,12 +299,19 @@ protected: /* -------------------------------------------------------------------------------------------------------- * Init */ - void initState(const uint32_t index, String& stateKey, String& defaultStateValue) override + void initAudioPort(bool input, uint32_t index, AudioPort& port) override + { + port.groupId = kPortGroupStereo; + Plugin::initAudioPort(input, index, port); + } + + void initState(const uint32_t index, State& state) override { DISTRHO_SAFE_ASSERT_RETURN(index == 0,); - stateKey = "project"; - defaultStateValue = "" + state.hints = kStateIsOnlyForDSP; + state.key = "project"; + state.defaultValue = "" "\n" "\n" "\n" diff --git a/plugins/Common/IldaeilUI.cpp b/plugins/Common/IldaeilUI.cpp index bbf6d2a..bdafbc1 100644 --- a/plugins/Common/IldaeilUI.cpp +++ b/plugins/Common/IldaeilUI.cpp @@ -1235,10 +1235,12 @@ protected: { } - void stateChanged(const char* const key, const char* const) override + void stateChanged(const char* /* const key */, const char*) override { + /* if (std::strcmp(key, "project") == 0) hidePluginUI(fPlugin->fCarlaHostHandle); + */ } // -------------------------------------------------------------------------------------------------------