pub struct UnsafeMutex<T> { /* private fields */ }Implementations§
Source§impl UnsafeMutex<ClapProcessor>
impl UnsafeMutex<ClapProcessor>
pub fn setup_audio_ports(&self)
pub fn process_with_midi( &self, frames: usize, midi_events: &[MidiEvent], transport: ClapTransportInfo, ) -> Vec<ClapMidiOutputEvent>
pub fn set_bypassed(&self, bypassed: bool)
pub fn is_bypassed(&self) -> bool
pub fn parameter_infos(&self) -> Vec<ClapParameterInfo>
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_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 snapshot_state(&self) -> Result<ClapPluginState, String>
pub fn restore_state(&self, state: &ClapPluginState) -> Result<(), String>
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 path(&self) -> String
pub fn plugin_id(&self) -> String
pub fn name(&self) -> String
pub fn run_host_callbacks_main_thread(&self)
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<ClapParamUpdate>
pub fn ui_take_state_update(&self) -> Option<ClapPluginState>
pub fn gui_info(&self) -> Result<ClapGuiInfo, String>
pub fn gui_create(&self, api: &str, is_floating: bool) -> Result<(), String>
pub fn gui_get_size(&self) -> Result<(u32, u32), String>
pub fn gui_set_parent_x11(&self, window: usize) -> 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 note_names(&self) -> HashMap<u8, String>
Trait Implementations§
Source§impl<T: Debug> Debug for UnsafeMutex<T>
impl<T: Debug> Debug for UnsafeMutex<T>
impl<T: Send> Send for UnsafeMutex<T>
impl<T: Send> Sync for UnsafeMutex<T>
Auto Trait Implementations§
impl<T> !Freeze for UnsafeMutex<T>
impl<T> !RefUnwindSafe for UnsafeMutex<T>
impl<T> Unpin for UnsafeMutex<T>where
T: Unpin,
impl<T> UnsafeUnpin for UnsafeMutex<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for UnsafeMutex<T>where
T: UnwindSafe,
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