[][src]Struct loopers_engine::looper::Looper

pub struct Looper {
    pub id: u32,
    pub mode: LooperMode,
    pub deleted: bool,
    pub parts: PartSet,
    pub backend: Option<LooperBackend>,
    // some fields omitted
}

Fields

id: u32mode: LooperModedeleted: boolparts: PartSetbackend: Option<LooperBackend>

Implementations

impl Looper[src]

pub fn new(id: u32, parts: PartSet, gui_output: GuiSender) -> Looper[src]

pub fn from_serialized(
    state: &SavedLooper,
    path: &Path,
    gui_output: GuiSender
) -> Result<Looper, SaveLoadError>
[src]

pub fn channel(&self) -> Sender<ControlMessage>[src]

pub fn start(self) -> Self[src]

pub fn set_time(&mut self, time: FrameTime)[src]

pub fn handle_command(&mut self, command: LooperCommand)[src]

pub fn process_output(
    &mut self,
    time: FrameTime,
    outputs: &mut [&mut [f64]],
    part: Part,
    solo: bool
)
[src]

pub fn process_input(&mut self, time_in_samples: u64, inputs: &[&[f32]])[src]

pub fn transition_to(&mut self, mode: LooperMode)[src]

pub fn length_in_samples(&self) -> u64[src]

Trait Implementations

impl Drop for Looper[src]

Auto Trait Implementations

impl !RefUnwindSafe for Looper

impl Send for Looper

impl Sync for Looper

impl Unpin for Looper

impl !UnwindSafe for Looper

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.