MCPcopy Create free account
hub / github.com/csound/csound / init_static_modules

Function init_static_modules

Top/init_static_modules.c:56–72  ·  view source on GitHub ↗

* Called from the beginning of csoundInitModules to initialize opcodes and * other modules that normally are dynamically loaded (e.g., C++ opcodes), * but that on other platforms (e.g. PNaCl) are statically linked. * * The pattern here is to define in the module source code a * "csoundModuleInit_XXX" function, where XXX is the basename of the * module file, and to call that function here. *

Source from the content-addressed store, hash-verified

54 * csoundModuleCreate, etc.
55 */
56int init_static_modules(CSOUND *csound)
57{
58 int32_t result = 0;
59 csoundMessage(csound, "init_static_modules...\n");
60 result |= csoundModuleInit_ampmidid(csound);
61 result |= csoundModuleInit_doppler(csound);
62 result |= csoundModuleInit_fractalnoise(csound);
63 result |= csoundModuleCreate_mixer(csound);
64 result |= csoundModuleInit_mixer(csound);
65 result |= csoundModuleCreate_signalflowgraph(csound);
66 result |= csoundModuleInit_signalflowgraph(csound);
67 #ifndef __wasi__
68 result |= csoundModuleInit_ftsamplebank(csound);
69 #endif
70 //# result |= csoundModuleInit_ableton_link_opcodes(csound);
71 return result;
72}

Callers 4

csoundInitModulesFunction · 0.85
CsoundObj_compileFunction · 0.85
CsoundObj_compileCSDFunction · 0.85
CsoundObj_compileOrcFunction · 0.85

Tested by

no test coverage detected