Expand description
LV2-shaped plugin adapters for SIM audio graph processors.
The default model feature is a pure-Rust, in-process model of the LV2
plugin format. The crate carries no -sys or FFI dependency:
Lv2HostProcessor runs SIM audio-graph processors shaped to the LV2
descriptor, and export_*_as_lv2 produces descriptors. On Linux, the
optional lv2-host feature exposes a provider trait and fixture host
provider for capability-gated fallback loading.
use sim_lib_plugin_lv2::lv2_gain_lv2_descriptor;
let lv2 = lv2_gain_lv2_descriptor().unwrap();
assert_eq!(lv2.ports.len(), 3);
let descriptor = lv2.to_plugin_descriptor().unwrap();
assert_eq!(descriptor.id.format.as_str(), "lv2");Structs§
- Lv2Exported
Processor - A SIM graph
Processorpresented as an LV2-shapedPluginInstance. - Lv2Host
Processor - Graph
Processorthat drives an LV2-shaped plugin instance. - Lv2Plugin
Descriptor - An LV2-shaped plugin description that lowers to a core
PluginDescriptor. - Lv2Port
- One declared port of an
Lv2PluginDescriptor. - Lv2State
Patch - A portable snapshot of one LV2 plugin’s state, keyed by its URI.
Enums§
- Lv2Port
Kind - The LV2 port class of an
Lv2Port, mapped onto a graphPortMedia.
Functions§
- export_
gain_ as_ lv2 - Exports the built-in gain processor as an LV2-shaped plugin instance.
- export_
processor_ as_ lv2 - Exports
processoras an LV2-shaped plugin instance underdescriptor. - install_
lv2_ plugin_ lib - Installs the
plugin-lv2surface pack intocx, idempotently. - lv2_
gain_ descriptor - Builds the built-in gain plugin’s format-neutral
PluginDescriptor. - lv2_
gain_ lv2_ descriptor - Builds the built-in stereo gain plugin’s LV2 description.
- lv2_
plugin_ symbols - Returns the qualified
Symbolfor eachplugin-lv2runtime export.