Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed May 3, 2024
1 parent 101ed79 commit 1f42487
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
7 changes: 4 additions & 3 deletions plugins/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ PLUGIN_FILES += AS/freeverb/revmodel.cpp

# modules/types which are present in other plugins
AS_CUSTOM = ADSR BpmDisplayWidget LabelDisplayWidget LedLight LowFrequencyOscillator SigDisplayWidget VCA WaveShaper YellowRedLight allpass comb revmodel
AS_CUSTOM_PER_FILE = NumberDisplayWidget MsDisplayWidget
AS_CUSTOM_PER_FILE = NumberDisplayWidget

# --------------------------------------------------------------
# AudibleInstruments
Expand Down Expand Up @@ -846,7 +846,7 @@ LILACLOOP_CUSTOM = AudioFile Mode
PLUGIN_FILES += $(filter-out LittleUtils/src/plugin.cpp,$(wildcard LittleUtils/src/*.cpp))

# modules/types which are present in other plugins
LITTLEUTILS_CUSTOM = CustomTrimpot MsDisplayWidget MAX_POLY_CHANNELS
LITTLEUTILS_CUSTOM = MsDisplayWidget

# --------------------------------------------------------------
# LomasModules
Expand Down Expand Up @@ -973,10 +973,11 @@ PATHSET_CUSTOM = PitchShifter

# --------------------------------------------------------------
# PdArray

PLUGIN_FILES += $(filter-out PdArray/src/plugin.cpp,$(wildcard PdArray/src/*.cpp))

# modules/types which are present in other plugins
PDARRAY_CUSTOM = $(DRWAV) MAX_POLY_CHANNELS TextBox CustomTrimpot MsDisplayWidget
PDARRAY_CUSTOM = $(DRWAV) CustomTrimpot MsDisplayWidget TextBox

# --------------------------------------------------------------
# PinkTrombone
Expand Down
12 changes: 2 additions & 10 deletions plugins/plugins.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -777,15 +777,15 @@ extern Model* modelBlankPanel;
#include "PathSet/src/plugin.hpp"

// PdArray
#define MAX_POLY_CHANNELS PDARRAYMAX_POLY_CHANNELS
#define TextBox PdArrayTextBox
#define CustomTrimpot PdArrayCustomTrimpot
#define MsDisplayWidget PdArrayMsDisplayWidget
#define MAX_POLY_CHANNELS PDARRAY_MAX_POLY_CHANNELS
#include "PdArray/src/plugin.hpp"
#undef PDARRAYMAX_POLY_CHANNELS
#undef Textbox
#undef CustomTrimpot
#undef MsDisplayWidget
#undef PDARRAY_MAX_POLY_CHANNELS

// PinkTrombone
#include "PinkTrombone/src/plugin.hpp"
Expand Down Expand Up @@ -2934,17 +2934,9 @@ static void initStatic__PdArray()
const StaticPluginLoader spl(p, "PdArray");
if (spl.ok())
{
#define MAX_POLY_CHANNELS PDARRAYMAX_POLY_CHANNELS
#define TextBox PdArrayTextBox
#define CustomTrimpot PdArrayCustomTrimpot
#define MsDisplayWidget PdArrayMsDisplayWidget
p->addModel(modelArray);
p->addModel(modelMiniramp);
p->addModel(modelMinistep);
#undef PDARRAYMAX_POLY_CHANNELS
#undef TextBox
#undef CustomTrimpot
#undef MsDisplayWidget
}
}

Expand Down

0 comments on commit 1f42487

Please sign in to comment.