pub struct Vst3Processor { /* private fields */ }Implementations§
Source§impl Vst3Processor
impl Vst3Processor
pub fn new( sample_rate: f64, buffer_size: usize, plugin_path: &str, input_count: usize, output_count: usize, host_binary: PathBuf, ) -> Result<Self, String>
pub fn setup_audio_ports(&self)
pub fn setup_midi_ports(&self)
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 midi_input_ports(&self) -> &[Arc<UnsafeMutex<Box<MIDIIO>>>]
pub fn midi_output_ports(&self) -> &[Arc<UnsafeMutex<Box<MIDIIO>>>]
pub fn set_bypassed(&self, bypassed: bool)
pub fn is_bypassed(&self) -> bool
pub fn parameter_infos(&self) -> Vec<ParameterInfo>
pub fn parameter_values(&self) -> HashMap<u32, f64>
pub fn set_parameter(&self, param_id: u32, value: f64) -> Result<(), String>
pub fn set_parameter_at( &self, param_id: u32, value: f64, _frame: u32, ) -> Result<(), String>
pub fn begin_parameter_edit(&self, _param_id: u32) -> Result<(), String>
pub fn end_parameter_edit(&self, _param_id: u32) -> Result<(), String>
pub fn is_parameter_edit_active(&self, _param_id: u32) -> bool
pub fn snapshot_state(&self) -> Result<Vst3PluginState, String>
pub fn restore_state(&self, state: &Vst3PluginState) -> Result<(), String>
pub fn process_with_audio_io(&self, frames: usize)
pub fn process_with_midi( &self, frames: usize, _midi_in: &[MidiEvent], ) -> Vec<MidiEvent>
pub fn path(&self) -> &str
pub fn name(&self) -> &str
pub fn take_stderr(&self) -> Option<ChildStderr>
pub fn begin_parameter_edit_at( &self, _param_id: u32, _frame: u32, ) -> Result<(), String>
pub fn end_parameter_edit_at( &self, _param_id: u32, _frame: u32, ) -> Result<(), String>
pub fn run_host_callbacks_main_thread(&self)
pub fn reconfigure_ports_if_needed(&self) -> Result<bool, String>
pub fn ui_begin_session(&self)
pub fn ui_end_session(&self)
pub fn ui_should_close(&self) -> bool
pub fn ui_take_due_timers(&self) -> Vec<u32>
pub fn ui_take_param_updates(&self) -> Vec<(u32, f64)>
pub fn ui_take_state_update(&self) -> Option<Vst3PluginState>
pub fn gui_info(&self) -> Result<Vst3GuiInfo, String>
pub fn gui_create(&self, _platform_type: &str) -> Result<(), String>
pub fn gui_get_size(&self) -> Result<(i32, i32), String>
pub fn gui_set_parent( &self, _window: usize, _platform_type: &str, ) -> Result<(), String>
pub fn gui_on_size(&self, _width: i32, _height: i32) -> Result<(), String>
pub fn gui_show(&self) -> Result<(), String>
pub fn gui_hide(&self)
pub fn gui_destroy(&self)
pub fn gui_on_main_thread(&self)
pub fn gui_on_timer(&self, _timer_id: u32)
pub fn gui_check_resize(&self) -> Option<(i32, i32)>
pub fn drain_echoed_parameters(&self) -> Vec<ParameterEvent>
Trait Implementations§
Source§impl Drop for Vst3Processor
impl Drop for Vst3Processor
Auto Trait Implementations§
impl !Freeze for Vst3Processor
impl !RefUnwindSafe for Vst3Processor
impl !UnwindSafe for Vst3Processor
impl Send for Vst3Processor
impl Sync for Vst3Processor
impl Unpin for Vst3Processor
impl UnsafeUnpin 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