Skip to main content

forward_plugin_instance

Macro forward_plugin_instance 

Source
macro_rules! forward_plugin_instance {
    ($ty:ident) => { ... };
}
Expand description

Implement PluginInstance for a $ty<P> newtype whose only relevant field is inner: ProcessorPlugin<P>, forwarding all six methods to it. The clap, lv2, and vst3 exported-processor adapters shared this forward block verbatim before OVERLAP6.15. Call it at each adapter, where Processor, ProcessBlock, and PrepareConfig (from sim_lib_audio_graph_core) and the plugin-core trait types are already in scope.