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

Function csoundModuleCreate_mixer

Opcodes/mixer.cpp:318–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

316 {NULL, 0, 0, 0, NULL, NULL, (SUBR)NULL, (SUBR)NULL, (SUBR)NULL}};
317
318PUBLIC int csoundModuleCreate_mixer(CSOUND *csound) {
319 std::map<CSOUND *, std::map<size_t, std::vector<std::vector<MYFLT>>>>
320 *busses = 0;
321 busses =
322 new std::map<CSOUND *, std::map<size_t, std::vector<std::vector<MYFLT>>>>;
323 csound::CreateGlobalPointer(csound, "busses", busses);
324 std::map<CSOUND *, std::map<size_t, std::map<size_t, MYFLT>>> *matrix = 0;
325 matrix = new std::map<CSOUND *, std::map<size_t, std::map<size_t, MYFLT>>>;
326 csound::CreateGlobalPointer(csound, "matrix", matrix);
327 return OK;
328}
329
330PUBLIC int csoundModuleInit_mixer(CSOUND *csound) {
331 OENTRY *ep = (OENTRY *)&(localops[0]);

Callers 2

csoundModuleCreateFunction · 0.85
init_static_modulesFunction · 0.85

Calls 1

CreateGlobalPointerFunction · 0.50

Tested by

no test coverage detected