Trait reaper_low::PCM_sink
source · [−]pub trait PCM_sink {
Show 13 methods
fn GetOutputInfoString(&mut self, buf: *mut c_char, buflen: c_int);
fn GetStartTime(&mut self) -> f64;
fn SetStartTime(&mut self, st: f64);
fn GetFileName(&mut self) -> *const c_char;
fn GetNumChannels(&mut self) -> c_int;
fn GetLength(&mut self) -> f64;
fn GetFileSize(&mut self) -> c_longlong;
fn WriteMIDI(
&mut self,
events: *mut MIDI_eventlist,
len: c_int,
samplerate: f64
);
fn WriteDoubles(
&mut self,
samples: *mut *mut ReaSample,
len: c_int,
nch: c_int,
offset: c_int,
spacing: c_int
);
fn WantMIDI(&mut self) -> bool { ... }
fn GetLastSecondPeaks(&mut self, sz: c_int, buf: *mut ReaSample) -> c_int { ... }
fn GetPeakInfo(&mut self, block: *mut PCM_source_peaktransfer_t) { ... }
fn Extended(
&mut self,
call: c_int,
parm1: *mut c_void,
parm2: *mut c_void,
parm3: *mut c_void
) -> c_int { ... }
}
Expand description
This is the Rust analog to the C++ virtual base class PCM_sink
.
An implementation of this trait can be passed to create_cpp_to_rust_pcm_sink()
.