* 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. *
| 54 | * csoundModuleCreate, etc. |
| 55 | */ |
| 56 | int 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 | } |
no test coverage detected