Struct rsynth::backend::vst_backend::VstPluginWrapper[][src]

pub struct VstPluginWrapper<P> { /* fields omitted */ }

A struct used internally by the vst_init macro. Normally, plugin’s do not need to use this.

Implementations

impl<P> VstPluginWrapper<P> where
    P: CommonAudioPortMeta + VstPluginMeta + AudioHandler + ContextualEventHandler<Timed<RawMidiEvent>, HostCallback> + ContextualAudioRenderer<f32, HostCallback> + ContextualAudioRenderer<f64, HostCallback>,
    P: ContextualEventHandler<Timed<SysExEvent<'a>>, HostCallback>, 
[src]

pub fn get_info(&self) -> Info[src]

pub fn new(plugin: P, host: HostCallback) -> Self[src]

Create a new VstPluginWrapper. Note Normally, plugin’s do not need to use VstPluginWrapper and use the vst_init macro instead.

pub fn host(&self) -> &HostCallback[src]

pub fn process<'b>(&mut self, buffer: &mut AudioBuffer<'b, f32>)[src]

pub fn process_f64<'b>(&mut self, buffer: &mut AudioBuffer<'b, f64>)[src]

pub fn get_input_info(&self, input_index: i32) -> ChannelInfo[src]

pub fn get_output_info(&self, output_index: i32) -> ChannelInfo[src]

pub fn process_events(&mut self, events: &Events)[src]

pub fn set_sample_rate(&mut self, sample_rate: f64)[src]

Auto Trait Implementations

impl<P> RefUnwindSafe for VstPluginWrapper<P> where
    P: RefUnwindSafe

impl<P> Send for VstPluginWrapper<P> where
    P: Send

impl<P> Sync for VstPluginWrapper<P> where
    P: Sync

impl<P> Unpin for VstPluginWrapper<P> where
    P: Unpin

impl<P> UnwindSafe for VstPluginWrapper<P> where
    P: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T> From<T> for T[src]

impl<S> FromSample<S> for S

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.