Function rotary::wrap::sequential[][src]

pub fn sequential<T>(value: T, frames: usize) -> Sequential<T>

Wrap a value as a sequential buffer with the given number of frames. The length of the buffer determines the number of channels it has.

Unlike interleaved, wrapped sequential buffers cannot be used as implementations of ReadBuf or WriteBuf.

You can instead use the Read or Write adapters available to accomplish this.