5 static CLAP_CONSTEXPR
const char CLAP_EXT_LATENCY
[] = "clap.latency";
11 // The audio ports scan has to be done while the plugin is deactivated.
12 typedef struct clap_plugin_latency
{
13 // Returns the plugin latency.
15 uint32_t(CLAP_ABI
*get
)(const clap_plugin_t
*plugin
);
16 } clap_plugin_latency_t
;
18 typedef struct clap_host_latency
{
19 // Tell the host that the latency changed.
20 // The latency is only allowed to change if the plugin is deactivated.
21 // If the plugin is activated, call host->request_restart()
23 void(CLAP_ABI
*changed
)(const clap_host_t
*host
);
24 } clap_host_latency_t
;