Struct ittech::SampleLoop[][src]

pub struct SampleLoop {
    pub start: u32,
    pub end: u32,
    pub bidi: bool,
}

Fields

start: u32

Start - offset into the sample in samples

end: u32

End - offset into the sample in samples.

Must be always >= start

bidi: bool

Bidirectional loop (also ping-pong loop)

  • false after reading the sample at end offset the playback head jumps to the start offset.
  • true after reading the sample at end offset the playback reverses and continues with the previous sample until it reaches the start offset, then it changes direction to normal.

Trait Implementations

impl Clone for SampleLoop[src]

impl Debug for SampleLoop[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.