Struct dsp::Connection
[−]
[src]
pub struct Connection<S> { pub buffer: Vec<S>, }
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 samples rendered by their input node.
Fields
buffer: Vec<S>
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<S: Debug> Debug for Connection<S>
[src]
impl<S: Clone> Clone for Connection<S>
[src]
fn clone(&self) -> Connection<S>
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