Struct reaper_low::raw::PCM_sink
source · [−]Fields
vtable_: *const PCM_sink__bindgen_vtable
m_st: f64
Implementations
sourceimpl PCM_sink
impl PCM_sink
sourcepub unsafe fn GetOutputInfoString(&self, buf: *mut c_char, buflen: c_int)
pub unsafe fn GetOutputInfoString(&self, buf: *mut c_char, buflen: c_int)
Safety
REAPER can crash if you pass an invalid pointer.
pub fn GetStartTime(&self) -> f64
pub fn SetStartTime(&self, st: f64)
pub fn GetFileName(&self) -> *const c_char
pub fn GetNumChannels(&self) -> c_int
pub fn GetLength(&self) -> f64
pub fn GetFileSize(&self) -> c_longlong
sourcepub unsafe fn WriteMIDI(
&self,
events: *mut MIDI_eventlist,
len: c_int,
samplerate: f64
)
pub unsafe fn WriteMIDI(
&self,
events: *mut MIDI_eventlist,
len: c_int,
samplerate: f64
)
Safety
REAPER can crash if you pass an invalid pointer.
sourcepub unsafe fn WriteDoubles(
&self,
samples: *mut *mut ReaSample,
len: c_int,
nch: c_int,
offset: c_int,
spacing: c_int
)
pub unsafe fn WriteDoubles(
&self,
samples: *mut *mut ReaSample,
len: c_int,
nch: c_int,
offset: c_int,
spacing: c_int
)
Safety
REAPER can crash if you pass an invalid pointer.
pub fn WantMIDI(&self) -> bool
sourcepub unsafe fn GetLastSecondPeaks(&self, sz: c_int, buf: *mut ReaSample) -> c_int
pub unsafe fn GetLastSecondPeaks(&self, sz: c_int, buf: *mut ReaSample) -> c_int
Safety
REAPER can crash if you pass an invalid pointer.
sourcepub unsafe fn GetPeakInfo(&self, block: *mut PCM_source_peaktransfer_t)
pub unsafe fn GetPeakInfo(&self, block: *mut PCM_source_peaktransfer_t)
Safety
REAPER can crash if you pass an invalid pointer.
Trait Implementations
impl StructuralPartialEq for PCM_sink
Auto Trait Implementations
impl RefUnwindSafe for PCM_sink
impl !Send for PCM_sink
impl !Sync for PCM_sink
impl Unpin for PCM_sink
impl UnwindSafe for PCM_sink
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