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

Function initUiIfNeeded

distrho/src/DistrhoUIDSSI.cpp:258–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256static double sampleRate = 0.0;
257
258static void initUiIfNeeded()
259{
260 if (globalUI != nullptr)
261 return;
262
263 if (sampleRate == 0.0)
264 sampleRate = 44100.0;
265
266 globalUI = new UIDssi(gOscData, gUiTitle, sampleRate);
267}
268
269// -----------------------------------------------------------------------
270

Callers 5

osc_configure_handlerFunction · 0.85
osc_control_handlerFunction · 0.85
osc_program_handlerFunction · 0.85
osc_show_handlerFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected