Struct vst2::host::PluginInstance [] [src]

pub struct PluginInstance { /* fields omitted */ }

An instance of an externally loaded VST plugin.

Trait Implementations

impl Drop for PluginInstance
[src]

A method called when the value goes out of scope. Read more

impl Plugin for PluginInstance
[src]

This method must return an Info struct.

Called when plugin is fully initialized.

Set the current preset to the index specified by preset.

Get the current preset index.

Set the current preset name.

Get the name of the preset at the index specified by preset.

Get parameter label for parameter at index (e.g. "db", "sec", "ms", "%").

Get the parameter value for parameter at index (e.g. "1.0", "150", "Plate", "Off").

Get the name of parameter at index.

Get the value of paramater at index. Should be value between 0.0 and 1.0.

Set the value of parameter at index. value is between 0.0 and 1.0.

Return whether parameter at index can be automated.

Use String as input for parameter value. Used by host to provide an editable field to adjust a parameter value. E.g. "100" may be interpreted as 100hz for parameter. Returns if the input string was used. Read more

Called when sample rate is changed by host.

Called when block size is changed by host.

Called when plugin is turned on.

Called when plugin is turned off.

Vendor specific handling.

Return whether plugin supports specified action.

Get the tail size of plugin when it is stopped. Used in offline processing as well.

Process an audio buffer containing f32 values. Read more

Process an audio buffer containing f64 values. Read more

Handle incoming events sent from the host. Read more

If preset_chunks is set to true in plugin info, this should return the raw chunk data for the current preset. Read more

If preset_chunks is set to true in plugin info, this should return the raw chunk data for the current plugin bank. Read more

If preset_chunks is set to true in plugin info, this should load a preset from the given chunk data. Read more

If preset_chunks is set to true in plugin info, this should load a preset bank from the given chunk data. Read more

Get information about an input channel. Only used by some hosts.

Get information about an output channel. Only used by some hosts.

Called during initialization to pass a HostCallback to the plugin. Read more

Return handle to plugin editor if supported.