Skip to content

Commit

Permalink
custom defines for StarlingVia
Browse files Browse the repository at this point in the history
  • Loading branch information
dromer committed Oct 24, 2023
1 parent a831339 commit 503ad65
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions plugins/plugins.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -731,8 +731,12 @@ void addThemeMenuItems(Menu*, ModuleTheme*) {}

// Starling Via
#define modelScanner modelStarlingViaScanner
#define Scale starlingViaScale
#define Wavetable starlingViaWavetable
#include "StarlingVia/src/starling.hpp"
#undef modelScanner
#undef Scale
#undef Wavetable

// stocaudio
#include "stocaudio/src/plugin.hpp"
Expand Down Expand Up @@ -2829,6 +2833,8 @@ static void initStatic__StarlingVia()
if (spl.ok())
{
#define modelScanner modelStarlingViaScanner
#define Scale starlingViaScale
#define Wavetable starlingViaWavetable
p->addModel(modelMeta);
p->addModel(modelGateseq);
p->addModel(modelScanner);
Expand All @@ -2839,6 +2845,8 @@ static void initStatic__StarlingVia()
p->addModel(modelSync3XL);
p->addModel(modelSync3XLLevels);
#undef modelScanner
#undef Scale
#undef Wavetable
}
}

Expand Down

0 comments on commit 503ad65

Please sign in to comment.