Struct vst::plugin::Info

source ·
pub struct Info {
Show 15 fields pub name: String, pub vendor: String, pub presets: i32, pub parameters: i32, pub inputs: i32, pub outputs: i32, pub midi_inputs: i32, pub midi_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,
}
Expand description

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.

§midi_inputs: i32

Number of MIDI input channels (1-16), or 0 for the default of 16 channels.

§midi_outputs: i32

Number of MIDI output channels (1-16), or 0 for the default of 16 channels.

§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 false.

§silent_when_stopped: bool

If this is true, the plugin will not produce sound when the input is silence.

Default is false.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.