[−][src]Function lilv_sys::lilv_plugin_instantiate
pub unsafe extern "C" fn lilv_plugin_instantiate(
plugin: *const LilvPlugin,
sample_rate: f64,
features: *const *const LV2Feature
) -> *mut LilvInstance
Instantiate a plugin.
The returned value is a lightweight handle for an LV2 plugin instance,
it does not refer to plugin
, or any other Lilv state. The caller must
eventually free it with lilv_instance_free().
features
is a NULL-terminated array of features the host supports.
NULL may be passed if the host supports no additional features.
@return NULL if instantiation failed.