Struct audiostream::synth::Null [-]  [+] [src]

pub struct Null<F> {
    // some fields omitted
}

Pure silence.

Methods

impl<F: Sample> Null<F>

fn new(size: usize) -> Null<F>

Create a source of pure silence for buffers of size samples.

Trait Implementations

impl<F: Sample> MonoSource for Null<F>

type Output = F

fn next<'a>(&'a mut self) -> Option<&'a mut [F]>

fn adapt(self) -> MonoAdapter<Self::Output, Self>