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

Function clap_plugin_on_timer

distrho/src/DistrhoPluginCLAP.cpp:2270–2276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2268
2269#if DPF_CLAP_USING_HOST_TIMER
2270static void CLAP_ABI clap_plugin_on_timer(const clap_plugin_t* const plugin, clap_id)
2271{
2272 PluginCLAP* const instance = static_cast<PluginCLAP*>(plugin->plugin_data);
2273 ClapUI* const gui = instance->getUI();
2274 DISTRHO_SAFE_ASSERT_RETURN(gui != nullptr,);
2275 return gui->idleCallback();
2276}
2277
2278static const clap_plugin_timer_support_t clap_timer = {
2279 clap_plugin_on_timer

Callers

nothing calls this directly

Calls 2

getUIMethod · 0.80
idleCallbackMethod · 0.45

Tested by

no test coverage detected