Struct vst::host::PluginInstance
source · pub struct PluginInstance { /* private fields */ }
Expand description
An instance of an externally loaded VST plugin.
Trait Implementations§
source§impl Drop for PluginInstance
impl Drop for PluginInstance
source§impl Plugin for PluginInstance
impl Plugin for PluginInstance
source§fn get_info(&self) -> Info
fn get_info(&self) -> Info
👎Deprecated: This crate has been deprecated. See https://github.com/RustAudio/vst-rs for more information.
This method must return an
Info
struct.source§fn new(_host: HostCallback) -> Self
fn new(_host: HostCallback) -> Self
👎Deprecated: This crate has been deprecated. See https://github.com/RustAudio/vst-rs for more information.
Called during initialization to pass a
HostCallback
to the plugin. Read moresource§fn init(&mut self)
fn init(&mut self)
👎Deprecated: This crate has been deprecated. See https://github.com/RustAudio/vst-rs for more information.
Called when plugin is fully initialized. Read more
source§fn set_sample_rate(&mut self, rate: f32)
fn set_sample_rate(&mut self, rate: f32)
👎Deprecated: This crate has been deprecated. See https://github.com/RustAudio/vst-rs for more information.
Called when sample rate is changed by host. Read more
source§fn set_block_size(&mut self, size: i64)
fn set_block_size(&mut self, size: i64)
👎Deprecated: This crate has been deprecated. See https://github.com/RustAudio/vst-rs for more information.
Called when block size is changed by host. Read more
source§fn resume(&mut self)
fn resume(&mut self)
👎Deprecated: This crate has been deprecated. See https://github.com/RustAudio/vst-rs for more information.
Called to transition the plugin into the resumed state.
source§fn suspend(&mut self)
fn suspend(&mut self)
👎Deprecated: This crate has been deprecated. See https://github.com/RustAudio/vst-rs for more information.
Called to transition the plugin into the suspended state.
source§fn vendor_specific(
&mut self,
index: i32,
value: isize,
ptr: *mut c_void,
opt: f32
) -> isize
fn vendor_specific(
&mut self,
index: i32,
value: isize,
ptr: *mut c_void,
opt: f32
) -> isize
👎Deprecated: This crate has been deprecated. See https://github.com/RustAudio/vst-rs for more information.
Vendor specific handling.
source§fn can_do(&self, can_do: CanDo) -> Supported
fn can_do(&self, can_do: CanDo) -> Supported
👎Deprecated: This crate has been deprecated. See https://github.com/RustAudio/vst-rs for more information.
Return whether plugin supports specified action. Read more
source§fn get_tail_size(&self) -> isize
fn get_tail_size(&self) -> isize
👎Deprecated: This crate has been deprecated. See https://github.com/RustAudio/vst-rs for more information.
Get the tail size of plugin when it is stopped. Used in offline processing as well.
source§fn process(&mut self, buffer: &mut AudioBuffer<'_, f32>)
fn process(&mut self, buffer: &mut AudioBuffer<'_, f32>)
👎Deprecated: This crate has been deprecated. See https://github.com/RustAudio/vst-rs for more information.
Process an audio buffer containing
f32
values. Read moresource§fn process_f64(&mut self, buffer: &mut AudioBuffer<'_, f64>)
fn process_f64(&mut self, buffer: &mut AudioBuffer<'_, f64>)
👎Deprecated: This crate has been deprecated. See https://github.com/RustAudio/vst-rs for more information.
Process an audio buffer containing
f64
values. Read moresource§fn process_events(&mut self, events: &Events)
fn process_events(&mut self, events: &Events)
👎Deprecated: This crate has been deprecated. See https://github.com/RustAudio/vst-rs for more information.
Handle incoming events sent from the host. Read more
source§fn get_input_info(&self, input: i32) -> ChannelInfo
fn get_input_info(&self, input: i32) -> ChannelInfo
👎Deprecated: This crate has been deprecated. See https://github.com/RustAudio/vst-rs for more information.
Get information about an input channel. Only used by some hosts.
source§fn get_output_info(&self, output: i32) -> ChannelInfo
fn get_output_info(&self, output: i32) -> ChannelInfo
👎Deprecated: This crate has been deprecated. See https://github.com/RustAudio/vst-rs for more information.
Get information about an output channel. Only used by some hosts.
source§fn get_parameter_object(&mut self) -> Arc<dyn PluginParameters>
fn get_parameter_object(&mut self) -> Arc<dyn PluginParameters>
👎Deprecated: This crate has been deprecated. See https://github.com/RustAudio/vst-rs for more information.
Get a reference to the shared parameter object.
source§fn get_editor(&mut self) -> Option<Box<dyn Editor>>
fn get_editor(&mut self) -> Option<Box<dyn Editor>>
👎Deprecated: This crate has been deprecated. See https://github.com/RustAudio/vst-rs for more information.
Return handle to plugin editor if supported.
The method need only return the object on the first call.
Subsequent calls can just return
None
. Read moresource§fn start_process(&mut self)
fn start_process(&mut self)
👎Deprecated: This crate has been deprecated. See https://github.com/RustAudio/vst-rs for more information.
Called one time before the start of process call. Read more
source§fn stop_process(&mut self)
fn stop_process(&mut self)
👎Deprecated: This crate has been deprecated. See https://github.com/RustAudio/vst-rs for more information.
Called after the stop of process call. Read more