pub struct Vst3Processor { /* private fields */ }Implementations§
Source§impl Vst3Processor
impl Vst3Processor
Sourcepub fn new_with_sample_rate(
sample_rate: f64,
buffer_size: usize,
plugin_path: &str,
audio_inputs: usize,
audio_outputs: usize,
) -> Result<Self, String>
pub fn new_with_sample_rate( sample_rate: f64, buffer_size: usize, plugin_path: &str, audio_inputs: usize, audio_outputs: usize, ) -> Result<Self, String>
Create a new VST3 processor with explicit sample rate
pub fn path(&self) -> &str
pub fn name(&self) -> &str
pub fn plugin_id(&self) -> &str
pub fn audio_inputs(&self) -> &[Arc<AudioIO>]
pub fn audio_outputs(&self) -> &[Arc<AudioIO>]
pub fn main_audio_input_count(&self) -> usize
pub fn main_audio_output_count(&self) -> usize
pub fn midi_input_count(&self) -> usize
pub fn midi_output_count(&self) -> usize
pub fn setup_audio_ports(&self)
pub fn process_with_audio_io(&self, frames: usize)
Sourcepub fn process_with_midi(
&self,
frames: usize,
input_events: &[MidiEvent],
) -> Vec<MidiEvent>
pub fn process_with_midi( &self, frames: usize, input_events: &[MidiEvent], ) -> Vec<MidiEvent>
Process audio with MIDI events
pub fn parameters(&self) -> &[ParameterInfo]
pub fn get_parameter_value(&self, param_id: u32) -> Option<f32>
pub fn set_parameter_value( &mut self, param_id: u32, normalized_value: f32, ) -> Result<(), String>
Sourcepub fn snapshot_state(&self) -> Result<Vst3PluginState, String>
pub fn snapshot_state(&self) -> Result<Vst3PluginState, String>
Snapshot the current plugin state for saving
Sourcepub fn restore_state(&mut self, state: &Vst3PluginState) -> Result<(), String>
pub fn restore_state(&mut self, state: &Vst3PluginState) -> Result<(), String>
Restore plugin state from a snapshot
Trait Implementations§
Source§impl Debug for Vst3Processor
impl Debug for Vst3Processor
Auto Trait Implementations§
impl Freeze for Vst3Processor
impl !RefUnwindSafe for Vst3Processor
impl Send for Vst3Processor
impl Sync for Vst3Processor
impl Unpin for Vst3Processor
impl UnsafeUnpin for Vst3Processor
impl !UnwindSafe for Vst3Processor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more