Implement MIDI-Map, finishing all core replacements

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2022-01-30 00:33:54 +00:00
parent eec0438d50
commit cb26617890
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
11 changed files with 749 additions and 193 deletions

View file

@ -595,14 +595,6 @@ std::string pluginManifest(const std::string& dirname);
std::string pluginPath(const std::string& dirname);
}
// core plugins
namespace core {
extern Model* modelMIDI_Gate;
extern Model* modelMIDIMap;
extern Model* modelGate_MIDI;
extern Model* modelBlank;
}
// regular plugins
namespace plugin {
@ -685,20 +677,6 @@ struct StaticPluginLoader {
}
};
static void initStatic__Core()
{
Plugin* const p = new Plugin;
const StaticPluginLoader spl(p, "Core");
if (spl.ok())
{
p->addModel(rack::core::modelMIDI_Gate);
p->addModel(rack::core::modelMIDIMap);
p->addModel(rack::core::modelGate_MIDI);
p->addModel(rack::core::modelBlank);
}
}
static void initStatic__Cardinal()
{
Plugin* const p = new Plugin;
@ -1996,7 +1974,6 @@ static void initStatic__ZZC()
void initStaticPlugins()
{
initStatic__Core();
initStatic__Cardinal();
#ifndef NOPLUGINS
initStatic__21kHz();