pub struct StandaloneVSTPlugin<SPF, SP> { /* private fields */ }
Trait Implementations§
source§impl<ProcessorFactory, Processor> Plugin for StandaloneVSTPlugin<ProcessorFactory, Processor>where
ProcessorFactory: StandaloneProcessorFactory<Output = Processor> + Send,
Processor: StandaloneProcessor,
<Processor as StandaloneProcessor>::Processor: AudioProcessor<SampleType = f32>,
impl<ProcessorFactory, Processor> Plugin for StandaloneVSTPlugin<ProcessorFactory, Processor>where ProcessorFactory: StandaloneProcessorFactory<Output = Processor> + Send, Processor: StandaloneProcessor, <Processor as StandaloneProcessor>::Processor: AudioProcessor<SampleType = f32>,
source§fn new(_host: HostCallback) -> Selfwhere
Self: Sized,
fn new(_host: HostCallback) -> Selfwhere Self: Sized,
Called during initialization to pass a
HostCallback
to the plugin. Read moresource§fn set_sample_rate(&mut self, rate: f32)
fn set_sample_rate(&mut self, rate: f32)
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)
Called when block size is changed by host. Read more
source§fn process(&mut self, vst_buffer: &mut VSTAudioBuffer<'_, f32>)
fn process(&mut self, vst_buffer: &mut VSTAudioBuffer<'_, f32>)
Process an audio buffer containing
f32
values. Read moresource§fn get_parameter_object(&mut self) -> Arc<dyn PluginParameters>
fn get_parameter_object(&mut self) -> Arc<dyn PluginParameters>
Get a reference to the shared parameter object.
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
Vendor specific handling.
source§fn can_do(&self, can_do: CanDo) -> Supported
fn can_do(&self, can_do: CanDo) -> Supported
Return whether plugin supports specified action. Read more
source§fn get_tail_size(&self) -> isize
fn get_tail_size(&self) -> isize
Get the tail size of plugin when it is stopped. Used in offline processing as well.
source§fn process_f64(&mut self, buffer: &mut AudioBuffer<'_, f64>)
fn process_f64(&mut self, buffer: &mut AudioBuffer<'_, f64>)
Process an audio buffer containing
f64
values. Read moresource§fn process_events(&mut self, events: &Events)
fn process_events(&mut self, events: &Events)
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
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
Get information about an output channel. Only used by some hosts.
source§fn start_process(&mut self)
fn start_process(&mut self)
Called one time before the start of process call. Read more
source§fn stop_process(&mut self)
fn stop_process(&mut self)
Called after the stop of process call. Read more