[][src]Enum fpsdk::host::Buffer

pub enum Buffer {
    InputRead(usize),
    OutputWrite(usize),
    InsertWrite(isize),
    MixWrite(isize),
    SendWrite(usize),
}

Type of the write-only buffer you want to get, using Host::buf_write.

Variants

InputRead(usize)

Multi input buffer for effects.

The value is the buffer index.

Warning: Index starts at 1, to be compatible with Buffer::Insert (index 0 would be render's function own buffer).

OutputWrite(usize)

Multi output buffer for generators and effects.

The value is the buffer index.

Warning: Index starts at 1, to be compatible with WriteBuffer::Insert (index 0 would be render's function own buffer).

InsertWrite(isize)

The insert buffer following the buffer a generator is currently processing in. This type is reserved for the Fruity wrapper (so it may change in the future).

The value is offset to the current buffer. 0 means the same buffer as passed to Plugin::render, 1 means next insert track.

MixWrite(isize)

Mixer track buffer relative to the current generator's track.

The value is track index offset relative to the current generator's track index (i.e. value of 0 returns the current output buffer).

Valid only for generators.

SendWrite(usize)

The send buffer (see host::Message::SetNumSends).

The value is the index of the send buffer.

Trait Implementations

impl Debug for Buffer[src]

Auto Trait Implementations

impl RefUnwindSafe for Buffer

impl Send for Buffer

impl Sync for Buffer

impl Unpin for Buffer

impl UnwindSafe for Buffer

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.