Struct dsp::signal::MulHz
[−]
[src]
pub struct MulHz<S, M> where
S: Signal,
<S as Iterator>::Item: Frame, { /* 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> Clone for MulHz<S, M> where
M: Clone,
S: Clone + Signal,
<S as Iterator>::Item: Frame,
[src]
M: Clone,
S: Clone + Signal,
<S as Iterator>::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
impl<S, M> Iterator for MulHz<S, M> where
M: Iterator<Item = f64>,
S: Signal,
<S as Iterator>::Item: Frame,
<<S as Iterator>::Item as Frame>::Sample: Duplex<f64>,
[src]
M: Iterator<Item = f64>,
S: Signal,
<S as Iterator>::Item: Frame,
<<S as Iterator>::Item as Frame>::Sample: Duplex<f64>,