[−][src]Struct dasp_graph::node::SumBuffers
A stateless node that sums all of the buffers of all of the inputs onto each of the output buffers.
E.g. Given two inputs with three buffers each, all 6 input buffers will be summed onto the first output buffer. If there is more than one output buffer, the result is copied to the remaining output buffers.
After a call to Node::process
, each of the output buffers will always have the same contents.
Common use cases:
- Summing multiple input channels down to a single output channel.
- Writing a single input channel to multiple output channels.
Trait Implementations
impl Clone for SumBuffers
[src]
fn clone(&self) -> SumBuffers
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SumBuffers
[src]
impl Node for SumBuffers
[src]
impl PartialEq<SumBuffers> for SumBuffers
[src]
impl StructuralPartialEq for SumBuffers
[src]
Auto Trait Implementations
impl RefUnwindSafe for SumBuffers
impl Send for SumBuffers
impl Sync for SumBuffers
impl Unpin for SumBuffers
impl UnwindSafe for SumBuffers
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<S, T> Duplex<S> for T where
T: FromSample<S> + ToSample<S>,
T: FromSample<S> + ToSample<S>,
impl<T> From<T> for T
[src]
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> ToSample<U> for T where
U: FromSample<T>,
U: FromSample<T>,
fn to_sample_(self) -> U
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,