Struct vst2::plugin::Info
[−]
[src]
pub struct Info { pub name: String, pub vendor: String, pub presets: i32, pub parameters: i32, pub inputs: i32, pub outputs: i32, pub unique_id: i32, pub version: i32, pub category: Category, pub initial_delay: i32, pub preset_chunks: bool, pub f64_precision: bool, pub silent_when_stopped: bool, }
A structure representing static plugin information.
Fields
name: String
Plugin Name.
vendor: String
Plugin Vendor.
presets: i32
Number of different presets.
parameters: i32
Number of parameters.
inputs: i32
Number of inputs.
outputs: i32
Number of outputs.
unique_id: i32
Unique plugin ID. Can be registered with Steinberg to prevent conflicts with other plugins.
This ID is used to identify a plugin during save and load of a preset and project.
version: i32
Plugin version (e.g. 0001 = v0.0.0.1
, 1283 = v1.2.8.3
).
category: Category
Plugin category. Possible values are found in enums::PluginCategory
.
initial_delay: i32
Latency of the plugin in samples.
This reports how many samples it takes for the plugin to create an output (group delay).
preset_chunks: bool
Indicates that preset data is handled in formatless chunks.
If false, host saves and restores plugin by reading/writing parameter data. If true, it is
up to the plugin to manage saving preset data by implementing the
{get, load}_{preset, bank}_chunks()
methods. Default is false
.
f64_precision: bool
Indicates whether this plugin can process f64 based AudioBuffer
buffers.
Default is true
.
silent_when_stopped: bool
If this is true, the plugin will not produce sound when the input is silence.
Default is false
.
Trait Implementations
impl Clone for Info
[src]
fn clone(&self) -> Info
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more