Browse Source

Cleanup and update submodules

tags/v1.1
falkTX 2 years ago
parent
commit
f5312ab0c4
5 changed files with 19 additions and 34 deletions
  1. +1
    -1
      carla
  2. +1
    -1
      dpf
  3. +1
    -1
      dpf-widgets
  4. +13
    -30
      plugins/Common/IldaeilPlugin.cpp
  5. +3
    -1
      plugins/Common/IldaeilUI.cpp

+ 1
- 1
carla

@@ -1 +1 @@
Subproject commit 7a9b7ba35e261f519b4ab38b7f506e2745998e90
Subproject commit 08af009062d1e542162e7f071f7f667a721235a5

+ 1
- 1
dpf

@@ -1 +1 @@
Subproject commit f1e157a03c40637c9055ddf82e7b0543b386c48a
Subproject commit 56cbf3b3ca3ab5ec7677d30978cf796a41302789

+ 1
- 1
dpf-widgets

@@ -1 +1 @@
Subproject commit 0253c44ac9345f5b93cfa303f03a02b44fe65901
Subproject commit dc083c0f09dbba4864a1da6f6dde21e4e3f0762c

+ 13
- 30
plugins/Common/IldaeilPlugin.cpp View File

@@ -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 = ""
"<?xml version='1.0' encoding='UTF-8'?>\n"
"<!DOCTYPE CARLA-PROJECT>\n"
"<CARLA-PROJECT VERSION='" CARLA_VERSION_STRMIN "'>\n"


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

@@ -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);
*/
}

// -------------------------------------------------------------------------------------------------------


Loading…
Cancel
Save