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>,

source§

fn get_info(&self) -> Info

This method must return an Info struct.
source§

fn new(_host: HostCallback) -> Self
where Self: Sized,

Called during initialization to pass a HostCallback to the plugin. Read more
source§

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)

Called when block size is changed by host. Read more
source§

fn resume(&mut self)

Called to transition the plugin into the resumed state.
source§

fn process(&mut self, vst_buffer: &mut VSTAudioBuffer<'_, f32>)

Process an audio buffer containing f32 values. Read more
source§

fn get_parameter_object(&mut self) -> Arc<dyn PluginParameters>

Get a reference to the shared parameter object.
source§

fn init(&mut self)

Called when plugin is fully initialized. Read more
source§

fn suspend(&mut self)

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

Vendor specific handling.
source§

fn can_do(&self, can_do: CanDo) -> Supported

Return whether plugin supports specified action. Read more
source§

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>)

Process an audio buffer containing f64 values. Read more
source§

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

Get information about an input channel. Only used by some hosts.
source§

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)

Called one time before the start of process call. Read more
source§

fn stop_process(&mut self)

Called after the stop of process call. Read more
source§

fn get_editor(&mut self) -> Option<Box<dyn Editor>>

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 more

Auto Trait Implementations§

§

impl<SPF, SP> RefUnwindSafe for StandaloneVSTPlugin<SPF, SP>
where SP: RefUnwindSafe, SPF: RefUnwindSafe,

§

impl<SPF, SP> Send for StandaloneVSTPlugin<SPF, SP>
where SP: Send, SPF: Send,

§

impl<SPF, SP> Sync for StandaloneVSTPlugin<SPF, SP>
where SP: Sync, SPF: Sync,

§

impl<SPF, SP> Unpin for StandaloneVSTPlugin<SPF, SP>
where SP: Unpin, SPF: Unpin,

§

impl<SPF, SP> UnwindSafe for StandaloneVSTPlugin<SPF, SP>
where SP: UnwindSafe, SPF: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<S> FromSample<S> for S

§

fn from_sample_(s: S) -> S

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

§

impl<F, T> IntoSample<T> for F
where T: FromSample<F>,

§

fn into_sample(self) -> T

§

impl<T, U> ToSample<U> for T
where U: FromSample<T>,

§

fn to_sample_(self) -> U

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<S, T> Duplex<S> for T
where T: FromSample<S> + ToSample<S>,