Struct rsynth::backend::vst_backend::VstPluginWrapper [−][src]
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]
P: CommonAudioPortMeta + VstPluginMeta + AudioHandler + ContextualEventHandler<Timed<RawMidiEvent>, HostCallback> + ContextualAudioRenderer<f32, HostCallback> + ContextualAudioRenderer<f64, HostCallback>,
P: ContextualEventHandler<Timed<SysExEvent<'a>>, HostCallback>,
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,
P: RefUnwindSafe,
impl<P> Send for VstPluginWrapper<P> where
P: Send,
P: Send,
impl<P> Sync for VstPluginWrapper<P> where
P: Sync,
P: Sync,
impl<P> Unpin for VstPluginWrapper<P> where
P: Unpin,
P: Unpin,
impl<P> UnwindSafe for VstPluginWrapper<P> where
P: UnwindSafe,
P: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<S, T> Duplex<S> for T where
T: FromSample<S> + ToSample<S>,
T: FromSample<S> + ToSample<S>,
impl<T> From<T> for T
[src]
impl<S> FromSample<S> for S
pub fn from_sample_(s: S) -> S
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> ToSample<U> for T where
U: FromSample<T>,
U: FromSample<T>,
pub fn to_sample_(self) -> U
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,