Go to the source code of this file.
◆ CMT_COPYRIGHT
| #define CMT_COPYRIGHT |
( |
| YEARS, |
|
|
| AUTHORS ) |
Value:"(C)" YEARS ", " AUTHORS ". " \
"GNU General Public Licence Version 2 applies."
◆ CMT_MAKER
| #define CMT_MAKER |
( |
| AUTHORS | ) |
|
Value:"CMT (http://www.ladspa.org/cmt, plugin by " AUTHORS ")"
◆ M_PI
| #define M_PI 3.14159265358979323846264338327 |
◆ CMT_Descriptor_ptr
◆ CMT_Instantiate()
This template can be used to generate functions to instantiate CMT plugins. To be used with this function, the plugin must accept two parameters (a LADSPA_Descriptor pointer and a sample rate). See the SimpleMixer class and mixer_descriptor() in mixer.cpp for a simple example of this: the instantiate function for the mixer class is generated within the mixer_descriptor() function as "CMT_Instantiate<SimpleMixer>".
◆ registerNewPluginDescriptor()
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.