Skip to content

Commit

Permalink
Tweak name conflicts for dBiz
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Sep 8, 2022
1 parent 46dcb39 commit b7f756c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
*Cardinal, the Rack!*

Cardinal is a free and open-source virtual modular synthesizer plugin,
available as JACK standalone and AU, LV2, VST2, VST3 and CLAP audio plugin for FreeBSD, Linux, macOS and Windows.
available as CLAP, LV2, VST2 and VST3 audio plugin for FreeBSD, Linux, macOS and Windows.
Plus AU and JACK or Native audio standalone for some systems.
It is based on the popular [VCV Rack](https://vcvrack.com/) but with a focus on being a fully self-contained plugin version.

More specifically, this is a [DPF-based](https://github.com/DISTRHO/DPF/)
Expand Down
2 changes: 1 addition & 1 deletion dpf
Submodule dpf updated 1 files
+17 −13 distrho/src/DistrhoUtils.cpp
4 changes: 3 additions & 1 deletion plugins/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,9 @@ AS_CUSTOM_PER_FILE = NumberDisplayWidget
PLUGIN_FILES += $(filter-out dBiz/src/plugin.cpp,$(wildcard dBiz/src/*.cpp))

# modules/types which are present in other plugins
DBIZ_CUSTOM = Chord DarkDefaultItem Divider OrangeLight VCA4 darkPanelID lightPanelID
DBIZ_CUSTOM = Chord DarkDefaultItem Divider FourSeq FourSeqWidget OrangeLight VCA4 Wavefolder
DBIZ_CUSTOM += darkPanelID lightPanelID
DBIZ_CUSTOM_PER_FILE = MultiFilter Oscillator calcOutput process sineOsc subBank

# --------------------------------------------------------------
# AudibleInstruments
Expand Down
16 changes: 8 additions & 8 deletions plugins/plugins.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -321,21 +321,21 @@ extern Model* modelTestVCF;
void setupSamples();

// dBiz
#define darkPanelID dBizdarkPanelID
#define DarkDefaultItem dBizDarkDefaultItem
#define lightPanelID dBizlightPanelID
#define OrangeLight dBizOrangeLight
#define darkPanelID dBizdarkPanelID
#define lightPanelID dBizlightPanelID
#define modelChord modeldBizChord
#define modelVCA4 modeldBizVCA4
#define modelDivider modeldBizDivider
#define modelVCA4 modeldBizVCA4
#include "dBiz/src/plugin.hpp"
#undef darkPanelID
#undef DarkDefaultItem
#undef lightPanelID
#undef OrangeLight
#undef darkPanelID
#undef lightPanelID
#undef modelChord
#undef modelVCA4
#undef modelDivider
#undef modelVCA4

// ESeries
#include "ESeries/src/plugin.hpp"
Expand Down Expand Up @@ -1737,8 +1737,8 @@ static void initStatic__dBiz()
if (spl.ok())
{
#define modelChord modeldBizChord
#define modelVCA4 modeldBizVCA4
#define modelDivider modeldBizDivider
#define modelVCA4 modeldBizVCA4
p->addModel(modelNavControl);
p->addModel(modelBench);
p->addModel(modelContorno);
Expand Down Expand Up @@ -1773,8 +1773,8 @@ static void initStatic__dBiz()
p->addModel(modelOrder);
p->addModel(modelDualMatrix);
#undef modelChord
#undef modelVCA4
#undef modelDivider
#undef modelVCA4
}
}

Expand Down

0 comments on commit b7f756c

Please sign in to comment.