Struct Clap Plugin
pub struct ClapPlugin<P>(/* private fields */);Expand description
The CLAP plug-in type for processor P.
Trait Implementations§
§impl<P: PluginExport> DefaultPluginFactory for ClapPlugin<P>
impl<P: PluginExport> DefaultPluginFactory for ClapPlugin<P>
§fn get_descriptor() -> PluginDescriptor
fn get_descriptor() -> PluginDescriptor
Returns a new Plugin Descriptor, which contains metadata about the plugin, such as its name,
stable identifier, and more. Read more
Creates a new instance of this shared data. Read more
§fn new_main_thread<'a>(
host: HostMainThreadHandle<'a>,
shared: &'a ClapShared,
) -> Result<ClapMain<'a>, PluginError>
fn new_main_thread<'a>( host: HostMainThreadHandle<'a>, shared: &'a ClapShared, ) -> Result<ClapMain<'a>, PluginError>
Creates a new instance of the plugin’s main thread. Read more
§impl<P: PluginExport> Plugin for ClapPlugin<P>
impl<P: PluginExport> Plugin for ClapPlugin<P>
§type AudioProcessor<'a> = ClapAudio<'a, P>
type AudioProcessor<'a> = ClapAudio<'a, P>
The type holding the plugin’s data and operations that belong to the audio thread. Read more
The type holding the plugin’s thread-safe data and operations. Read more
§type MainThread<'a> = ClapMain<'a>
type MainThread<'a> = ClapMain<'a>
The type holding the plugin’s data and operations that belong to the main thread. Read more
§fn declare_extensions(
builder: &mut PluginExtensions<'_, Self>,
_: Option<&ClapShared>,
)
fn declare_extensions( builder: &mut PluginExtensions<'_, Self>, _: Option<&ClapShared>, )
Declares the extensions this plugin supports. Read more