Struct dsp::signal::MulHz [] [src]

pub struct MulHz<S, M> where S: Signal, S::Item: Frame {
    // some fields omitted
}

Multiplies the rate at which frames of self are yielded by the given signal.

This happens by wrapping self in a rate::Converter and calling set_playback_hz_scale with the value yielded by signal

Trait Implementations

impl<S, M> Iterator for MulHz<S, M> where M: Iterator<Item=f64>, S: Signal, S::Item: Frame, S::Item::Sample: Duplex<f64>

type Item = S::Item

fn next(&mut self) -> Option<MulHz<S, M>::Item>

fn size_hint(&self) -> (usize, Option<usize>)

Derived Implementations

impl<S, M> Clone for MulHz<S, M> where M: Clone, S: Clone + Signal, S::Item: Frame

fn clone(&self) -> MulHz<S, M>

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