Attention Developers: changes in API

Some last changes break the relationship between plugins and manufacturers. In a few words, your plugins will stop working!
(see references: HERE  and HERE )

You will have to make some modifications to your “MyModule.cpp” file as in the following example:

Plugin *plugin;

void init(rack::Plugin *p)

{
plugin = p;
plugin->slug = “Autodafe”;
#ifdef VERSION
p->version = TOSTRING(VERSION);
#endif

// Specify the ModuleWidget subclass, manufacturer slug , manufacturer human-readable name, module slug, and module name
p->addModel(createModel<MyModuleWidget>(“Autodafe”, “Autodafe”, “MyModule”, “My Module”));

//….and so on…

}

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.