MCPcopy Create free account
hub / github.com/DISTRHO/DPF / osc_program_handler

Function osc_program_handler

distrho/src/DistrhoUIDSSI.cpp:326–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324
325#if DISTRHO_PLUGIN_WANT_PROGRAMS
326int osc_program_handler(const char*, const char*, lo_arg** argv, int, lo_message, void*)
327{
328 const int32_t bank = argv[0]->i;
329 const int32_t program = argv[1]->f;
330 d_debug("osc_program_handler(%i, %i)", bank, program);
331
332 initUiIfNeeded();
333
334 globalUI->dssiui_program(bank, program);
335
336 return 0;
337}
338#endif
339
340int osc_sample_rate_handler(const char*, const char*, lo_arg** argv, int, lo_message, void*)

Callers

nothing calls this directly

Calls 3

d_debugFunction · 0.85
initUiIfNeededFunction · 0.85
dssiui_programMethod · 0.80

Tested by

no test coverage detected