Trait vst2::host::Host [] [src]

pub trait Host {
    fn automate(&mut self, index: i32, value: f32) { ... }
    fn get_plugin_id(&self) -> i32 { ... }
    fn idle(&self) { ... }
    fn get_info(&self) -> (isize, String, String) { ... }
    fn process_events(&mut self, events: Vec<Event>) { ... }
}

Implemented by all VST hosts.

Provided Methods

Automate a parameter; the value has been changed.

Get the plugin ID of the currently loading plugin.

This is only useful for shell plugins where this value will change the plugin returned. TODO: implement shell plugins

An idle call.

This is useful when the plugin is doing something such as mouse tracking in the UI.

Get vendor and product information.

Returns a tuple in the form of (version, vendor_name, product_name).

Handle incoming events from the plugin.

Implementors