Trait rotary_core::ResizableBuf[][src]

pub trait ResizableBuf {
    fn resize(&mut self, frames: usize);
fn resize_topology(&mut self, channels: usize, frames: usize); }

Trait implemented for buffers that can be resized.

Required methods

fn resize(&mut self, frames: usize)[src]

Resize the number of frames in the buffer.

fn resize_topology(&mut self, channels: usize, frames: usize)[src]

Resize the buffer to match the given topology.

Loading content...

Implementations on Foreign Types

impl<B: ?Sized> ResizableBuf for &mut B where
    B: ResizableBuf
[src]

impl<T> ResizableBuf for Vec<Vec<T>> where
    T: Sample
[src]

Loading content...

Implementors

Loading content...