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

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter.