Struct dsp::Connection [] [src]

pub struct Connection<F> {
    pub buffer: Vec<F>,
}

Describes a connection between two Nodes within the Graph: input -> connection -> output.

Graph's API only allows for read-only access to Connections, so you can be sure that their buffers always represent the last frames rendered by their input node.

Fields

buffer: Vec<F>

The buffer used to pass audio between nodes.

After Graph::audio_requested_from is called, this buffer will contain the audio rendered by the Connection's input node.

Trait Implementations

Derived Implementations

impl<F: Debug> Debug for Connection<F>
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<F: Clone> Clone for Connection<F>
[src]

fn clone(&self) -> Connection<F>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more