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

Function osc_sample_rate_handler

distrho/src/DistrhoUIDSSI.cpp:340–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

338#endif
339
340int osc_sample_rate_handler(const char*, const char*, lo_arg** argv, int, lo_message, void*)
341{
342 sampleRate = argv[0]->i;
343 d_debug("osc_sample_rate_handler(%f)", sampleRate);
344
345 if (globalUI != nullptr)
346 globalUI->dssiui_samplerate(sampleRate);
347
348 return 0;
349}
350
351int osc_show_handler(const char*, const char*, lo_arg**, int, lo_message, void*)
352{

Callers

nothing calls this directly

Calls 2

d_debugFunction · 0.85
dssiui_samplerateMethod · 0.80

Tested by

no test coverage detected