|
LMMS
|
Classes | |
| class | StartupShutdownHandler |
Macros | |
| #define | CAPACITY_STEP 20 |
Functions | |
| void | initialise_modules () |
| void | finalise_modules () |
| static int | pluginNameComparator (const void *pvDescriptor1, const void *pvDescriptor2) |
| void | registerNewPluginDescriptor (CMT_Descriptor *psDescriptor) |
| const LADSPA_Descriptor * | ladspa_descriptor (unsigned long Index) |
Variables | |
| static CMT_Descriptor ** | g_ppsRegisteredDescriptors = NULL |
| static unsigned long | g_lPluginCapacity = 0 |
| static unsigned long | g_lPluginCount = 0 |
| static StartupShutdownHandler | g_oStartupShutdownHandler |
| #define CAPACITY_STEP 20 |
| void finalise_modules | ( | ) |
Finalise any structures allocated by the modules. This does not include descriptors passed to registerNewPluginDescriptor().
| void initialise_modules | ( | ) |
This function should initialise all modules in the library. This will lead to all plugin descriptors being registered. If you write a new plugin you should initialise it here. If the module has structures it wishes to remove also then these should be included in finalise_modules().
| const LADSPA_Descriptor * ladspa_descriptor | ( | unsigned long | Index | ) |
| void registerNewPluginDescriptor | ( | CMT_Descriptor * | psDescriptor | ) |
Each plugin type must register itself with the descriptor registry. This is done by calling the following function, passing a newly allocated structure (that will be cleaned up on library unload automatically).
Each module needs to be initialised in order to have a chance to register new plugins. This can be achieved by modifying the list of initialiser functions in descriptor.cpp.
|
static |
|
static |
|
static |
|
static |