|
Csound API 6.09
|
Declares the Csound plugin opcode interface. More...
Macros | |
| #define | Str(x) |
| #define | LINKAGE |
| The LINKAGE macro sets up linking of opcode list. | |
| #define | LINKAGE_BUILTIN(name) |
| The LINKAGE_BUILTIN macro sets up linking of opcode list for builtin opcodes which must have unique function names. | |
| #define | FLINKAGE |
| LINKAGE for f-table plugins. | |
| #define | FLINKAGE_BUILTIN(name) |
Functions | |
| PUBLIC int64_t | csound_opcode_init (CSOUND *, OENTRY **) |
| PUBLIC NGFENS * | csound_fgen_init (CSOUND *) |
| PUBLIC int | csoundModuleCreate (CSOUND *) |
| PUBLIC int | csoundModuleInit (CSOUND *) |
| PUBLIC int | csoundModuleDestroy (CSOUND *) |
| PUBLIC const char * | csoundModuleErrorCodeToString (int) |
| PUBLIC int | csoundModuleInfo (void) |
Declares the Csound plugin opcode interface.
Plugin opcodes can extend the functionality of Csound, providing new functionality that is exposed as opcodes in the Csound language. Plugins need to include this header file only, as it will bring all necessary data structures to interact with Csound. It is not necessary for plugins to link to the libcsound library, as plugin opcodes will always receive a CSOUND* pointer (to the CSOUND_ struct) which contains all the API functions inside.
This is the basic template for a plugin opcode. See the manual for further details on accepted types and function call rates. The use of the LINKAGE macro is highly recommended, rather than calling the functions directly.
| #define FLINKAGE |
LINKAGE for f-table plugins.
| #define FLINKAGE_BUILTIN | ( | name | ) |
| #define LINKAGE |
The LINKAGE macro sets up linking of opcode list.
| #define LINKAGE_BUILTIN | ( | name | ) |
The LINKAGE_BUILTIN macro sets up linking of opcode list for builtin opcodes which must have unique function names.
| #define Str | ( | x | ) |