Struct reaper_low::raw::REAPER_Resample_Interface
source · [−]#[repr(C)]pub struct REAPER_Resample_Interface {
pub vtable_: *const REAPER_Resample_Interface__bindgen_vtable,
}Expand description
Resampler API (plug-ins can use this for SRC)
See API functions Resampler_Create() and Resample_EnumModes()
Fields
vtable_: *const REAPER_Resample_Interface__bindgen_vtableImplementations
sourceimpl REAPER_Resample_Interface
impl REAPER_Resample_Interface
pub fn SetRates(&mut self, rate_in: f64, rate_out: f64)
pub fn Reset(&mut self)
pub fn GetCurrentLatency(&mut self) -> f64
sourcepub unsafe fn ResamplePrepare(
&mut self,
out_samples: c_int,
nch: c_int,
inbuffer: *mut *mut ReaSample
) -> c_int
pub unsafe fn ResamplePrepare(
&mut self,
out_samples: c_int,
nch: c_int,
inbuffer: *mut *mut ReaSample
) -> c_int
Safety
REAPER can crash if you pass an invalid pointer.
Trait Implementations
sourceimpl Debug for REAPER_Resample_Interface
impl Debug for REAPER_Resample_Interface
sourceimpl Default for REAPER_Resample_Interface
impl Default for REAPER_Resample_Interface
sourceimpl Hash for REAPER_Resample_Interface
impl Hash for REAPER_Resample_Interface
sourceimpl PartialEq<REAPER_Resample_Interface> for REAPER_Resample_Interface
impl PartialEq<REAPER_Resample_Interface> for REAPER_Resample_Interface
sourcefn eq(&self, other: &REAPER_Resample_Interface) -> bool
fn eq(&self, other: &REAPER_Resample_Interface) -> bool
impl Eq for REAPER_Resample_Interface
impl StructuralEq for REAPER_Resample_Interface
impl StructuralPartialEq for REAPER_Resample_Interface
Auto Trait Implementations
impl RefUnwindSafe for REAPER_Resample_Interface
impl !Send for REAPER_Resample_Interface
impl !Sync for REAPER_Resample_Interface
impl Unpin for REAPER_Resample_Interface
impl UnwindSafe for REAPER_Resample_Interface
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
sourcefn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait. Read moresourcefn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read moresourcefn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s. Read moresourcefn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s. Read more